4794-mdb_block #1170

Merged
vicent merged 17 commits from 4794-mdb_block into dev 2022-12-22 09:19:16 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit e0ba7d523c - Show all commits

View File

@ -22,7 +22,7 @@ module.exports = Self => {
}
});
Self.unlock = async(appName, options) => {
Self.unlock = async(ctx, appName, options) => {
const models = Self.app.models;
const myOptions = {};

View File

@ -124,7 +124,7 @@ module.exports = Self => {
version: newVersion
}, myOptions);
if (unlock) await models.MdbApp.unlock(appName, myOptions);
if (unlock) await models.MdbApp.unlock(ctx, appName, myOptions);
if (tx) await tx.commit();
} catch (e) {