diff --git a/back/methods/edi/updateData.js b/back/methods/edi/updateData.js index a7375676a..86a9e1f31 100644 --- a/back/methods/edi/updateData.js +++ b/back/methods/edi/updateData.js @@ -101,12 +101,12 @@ module.exports = Self => { if (error.code !== 'ENOENT') throw e; } + + return true; } catch (error) { await tx.rollback(); throw error; } - - return true; }; let ftpClient;