ver: 1.1.21:

- Lista dei Cataloghi
- Gestione Cataloghi in base alla configurazione
This commit is contained in:
Surya Paolo
2025-02-10 22:48:46 +01:00
parent 3e9ab0af53
commit f674791dbc
17 changed files with 217 additions and 88 deletions

View File

@@ -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));
}
};