ver: 1.1.21:
- Lista dei Cataloghi - Gestione Cataloghi in base alla configurazione
This commit is contained in:
@@ -525,10 +525,6 @@ class ImageDownloader {
|
||||
}
|
||||
}
|
||||
|
||||
// Funzione per implementare il ritardo tra i tentativi
|
||||
function sleep(ms) {
|
||||
return new Promise(resolve => setTimeout(resolve, ms));
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
MYAPPS: [],
|
||||
@@ -2873,8 +2869,8 @@ module.exports = {
|
||||
'user.surname': 1,
|
||||
'user.profile.img': 1,
|
||||
'user.profile.qualifica': 1,
|
||||
'user.profile.note': 1,
|
||||
'profile.da_contattare': 1,
|
||||
'user.profile.note': 1,
|
||||
'profile.da_contattare': 1,
|
||||
});
|
||||
if (qa1) query = [...query, ...qa1];
|
||||
query.push({ $unwind: '$user' });
|
||||
@@ -2924,8 +2920,8 @@ module.exports = {
|
||||
'user.surname': 1,
|
||||
'user.profile.img': 1,
|
||||
'user.profile.qualifica': 1,
|
||||
'user.profile.note': 1,
|
||||
'profile.da_contattare': 1,
|
||||
'user.profile.note': 1,
|
||||
'profile.da_contattare': 1,
|
||||
});
|
||||
if (qa1) query = [...query, ...qa1];
|
||||
query.push({ $unwind: '$user' });
|
||||
@@ -5342,7 +5338,7 @@ module.exports = {
|
||||
descrperNotif = i18n.__('NEW_EVENT', userorig, datastr, mydescr, dovestr);
|
||||
}
|
||||
|
||||
|
||||
|
||||
let contatto = userorig;
|
||||
let contatto_telegram = '';
|
||||
try {
|
||||
@@ -5955,7 +5951,12 @@ module.exports = {
|
||||
return null;
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
// Funzione per implementare il ritardo tra i tentativi
|
||||
sleep(ms) {
|
||||
return new Promise(resolve => setTimeout(resolve, ms));
|
||||
}
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user