Corretto Duplicazione Sito (es: da 1 a 14)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user