mirror of
https://github.com/Mintplex-Labs/express-admin.git
synced 2026-07-21 00:45:22 -04:00
Database record updates are disabled if debug flag is set
This commit is contained in:
@@ -102,6 +102,7 @@ var tbl = {
|
||||
},
|
||||
execute: function (action, args, str, record, settings, cb) {
|
||||
args.log && console.log('tbl'.green, str);
|
||||
if (args.debug) return cb();
|
||||
|
||||
// insert or update
|
||||
if (action != 'remove') {
|
||||
|
||||
Reference in New Issue
Block a user