- 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) {

View File

@@ -92,7 +92,7 @@ module.exports = Object.freeze({
LIST_START: null,
PREFIX_IMG: 'm_',
PREFIX_IMG_SMALL: 'small_',
PREFIX_IMG_SMALL: 'sm_',
Privacy: {
all: 'all',

View File

@@ -43,6 +43,7 @@ module.exports = {
KEY_TO_CRYPTED: ['PWD_FROM'],
TablePickup: ['countries', 'phones'],
TableCities: ['citta', 'province'],
PaymentTypes: [
'Nessuno',