Corretto Duplicazione Sito (es: da 1 a 14)

This commit is contained in:
Paolo Arena
2022-05-14 00:31:53 +02:00
parent 6bee532b9b
commit bedd724523
12 changed files with 72 additions and 46 deletions

View File

@@ -1759,7 +1759,7 @@ module.exports = {
let num = 0;
for (let ind = 0; ind < arrrec.length; ind++) {
let newrec = new mythistable(arrrec[ind]._doc);
let newrec = new mythistable(arrrec[ind]);
newrec._id = new ObjectID();
newrec.idapp = idappdest;
@@ -2704,7 +2704,7 @@ module.exports = {
refreshAllTablesInMem(idapp, table, updatebot, username) {
const telegrambot = require('../telegram/telegrambot');
if (table === shared_consts.TAB_MYBOTS || updatebot) {
if (table === shared_consts.TAB_BOTS || updatebot) {
telegrambot.reloadMenuBot(idapp);
}