diff --git a/modules/mdb/back/methods/mdbApp/unlock.js b/modules/mdb/back/methods/mdbApp/unlock.js index 9c0470c58..bf09a4493 100644 --- a/modules/mdb/back/methods/mdbApp/unlock.js +++ b/modules/mdb/back/methods/mdbApp/unlock.js @@ -31,11 +31,6 @@ module.exports = Self => { if (typeof options == 'object') Object.assign(myOptions, options); - if (!myOptions.transaction) { - tx = await Self.beginTransaction({}); - myOptions.transaction = tx; - } - try { const mdbApp = await models.MdbApp.findById(appName, null, myOptions); const updatedMdbApp = await mdbApp.updateAttributes({