VERSIONE 0.3.3: RISO:
"RISO.APP alla fine copiare la cartella upload di insiemesipuo.app in riso.app" Corretto BOT Menu Altre sistemazioni (idShippings)
This commit is contained in:
@@ -88,6 +88,12 @@ const shared_consts = require('../tools/shared_nodejs');
|
||||
const globalTables = require('../tools/globalTables');
|
||||
|
||||
const UserCost = {
|
||||
FIELDS_UPDATE_TELEGRAM_BOT: [
|
||||
'profile.teleg_id',
|
||||
'profile.manage_telegram',
|
||||
'deleted',
|
||||
],
|
||||
|
||||
FIELDS_REQUISITI: [
|
||||
'verified_email',
|
||||
'profile.teleg_id',
|
||||
@@ -587,7 +593,9 @@ router.patch('/chval', authenticate, async (req, res) => {
|
||||
});
|
||||
}
|
||||
|
||||
tools.refreshAllTablesInMem(idapp, mydata.table);
|
||||
const updatebot = UserCost.FIELDS_UPDATE_TELEGRAM_BOT.includes(Object.keys(fieldsvalue)[0]);
|
||||
|
||||
tools.refreshAllTablesInMem(idapp, mydata.table, updatebot);
|
||||
|
||||
if (mydata.table === shared_consts.TAB_SETTINGS) {
|
||||
if (shared_consts.KEY_TO_CRYPTED.includes(fieldsvalue.key)) {
|
||||
|
||||
Reference in New Issue
Block a user