- Tolto Zoom e Sogni come requisiti
- Corretto Email con HTML che si visualizzavano tutti i caratteri HTML...
This commit is contained in:
@@ -63,7 +63,6 @@ const shared_consts = require('../tools/shared_nodejs');
|
||||
UserCost = {
|
||||
FIELDS_REQUISITI: ['verified_email',
|
||||
'profile.teleg_id',
|
||||
'profile.saw_zoom_presentation',
|
||||
'profile.saw_and_accepted',
|
||||
'profile.revolut',
|
||||
'profile.payeer_id',
|
||||
@@ -463,13 +462,13 @@ router.patch('/chval', authenticate, async (req, res) => {
|
||||
}
|
||||
|
||||
if (mydata.table === 'users') {
|
||||
if ('saw_zoom_presentation' in fieldsvalue) {
|
||||
/*if ('saw_zoom_presentation' in fieldsvalue) {
|
||||
if (fieldsvalue['saw_zoom_presentation']) {
|
||||
const messaggio = tools.get__('ZOOM_CONFERMATO');
|
||||
await telegrambot.sendMsgTelegram(idapp, myuser.username, messaggio);
|
||||
await telegrambot.sendMsgTelegramToTheManagersAndZoomeri(idapp, `L\'utente ${rec.name} ${rec.surname} (${rec.username}) è stato confermato per aver visto lo Zoom di Benvenuto`);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
if ('aportador_solidario' in fieldsvalue) {
|
||||
ind_order_ingr = mydata.ind_order_ingr;
|
||||
|
||||
Reference in New Issue
Block a user