vedere le Richieste di Fiducia solo se si è verificati Telegram

Corretto il mio account che doveva confermare in automatico... non lo faceva...
This commit is contained in:
paoloar77
2022-03-04 15:30:11 +01:00
parent c1cecc5eb4
commit dba9a4ea70
5 changed files with 212 additions and 71 deletions

View File

@@ -1818,6 +1818,7 @@ UserSchema.statics.getFriendsByUsername = async function(idapp, username) {
let listTrusted = await User.find({
idapp, aportador_solidario: username,
'profile.teleg_id': {$gt: 0},
$or: [
{deleted: {$exists: false}},
{deleted: {$exists: true, $eq: false}}],