Merge dev - test #1881

Merged
jsegarra merged 71 commits from dev into test 2023-12-07 08:28:25 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 9f6d034f9c - Show all commits

View File

@ -86,9 +86,9 @@ module.exports = Self => {
await userToUpdate.save(myOptions); await userToUpdate.save(myOptions);
await models.Account.sync(userToUpdate.name, null, null, myOptions); await models.Account.sync(userToUpdate.name, null, null, myOptions);
await tx.commit(); if (tx) await tx.commit();
} catch (err) { } catch (err) {
await tx.rollback(); if (tx) await tx.rollback();
throw err; throw err;
}; };
}; };