- MyProfile

- Immagine profilo e small
This commit is contained in:
paoloar77
2022-01-03 21:53:50 +01:00
parent b587b5e0a7
commit 181af3c895
7 changed files with 447 additions and 326 deletions

View File

@@ -408,6 +408,12 @@ module.exports = {
SEND_MSG_DONO_NON_RICEVUTO: 1050,
},
Perm: {
PERM_NONE: 0,
PERM_FRIEND: 1,
PERM_ALL: 10,
},
Placca: {
DONATORI: 1,
TUTTI: 2,
@@ -1218,7 +1224,12 @@ module.exports = {
}
if (params.filtercustom) {
filtriadded.push(...params.filtercustom);
for (const myfilter of params.filtercustom) {
if (myfilter["userId"]) {
myfilter["userId"] = ObjectID(myfilter["userId"]);
}
filtriadded.push(myfilter);
}
}
if (params.filtersearch) {