Abilitazione del BOT
This commit is contained in:
@@ -17,6 +17,8 @@ const { Settings } = require('../models/settings');
|
||||
|
||||
const { SendNotif } = require('../models/sendnotif');
|
||||
|
||||
const { MyBot } = require('../models/bot');
|
||||
|
||||
const tools = require('../tools/general');
|
||||
const shared_consts = require('../tools/shared_nodejs');
|
||||
|
||||
@@ -1409,6 +1411,11 @@ async function eseguiDbOp(idapp, mydata, locale, req, res) {
|
||||
} else if (mydata.dbop === 'updateSaldoAndTransato_AllAccounts') {
|
||||
|
||||
await Account.updateSaldoAndTransato_AllAccounts(idapp);
|
||||
} else if (mydata.dbop === 'generateBotMenuRecords') {
|
||||
|
||||
|
||||
await MyBot.generateBotMenuRecords(idapp);
|
||||
|
||||
} else if (mydata.dbop === 'GenerateVapiKey') {
|
||||
|
||||
await tools.generateVapiKey();
|
||||
|
||||
Reference in New Issue
Block a user