feat(mdbVerson_upload): add return true
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2022-07-22 08:40:21 +02:00
parent 2122f8adac
commit 43bddf02e9
1 changed files with 2 additions and 0 deletions

View File

@ -109,6 +109,8 @@ module.exports = Self => {
});
if (tx) await tx.commit();
return true;
} catch (e) {
if (tx) await tx.rollback();