- menu BOT
- verified_by_aportador
This commit is contained in:
@@ -1134,9 +1134,15 @@ module.exports = {
|
||||
if (params.filterand.includes(
|
||||
shared_consts.FILTER_USER_CODICE_AUTH_TELEGRAM))
|
||||
filtriadded.push({'profile.teleg_checkcode': {$gt: 1}});
|
||||
if (params.filterand.includes(
|
||||
shared_consts.FILTER_USER_NO_EMAIL_VERIFICATA))
|
||||
if (params.filterand.includes(shared_consts.FILTER_USER_NO_EMAIL_VERIFICATA))
|
||||
filtriadded.push({verified_email: false});
|
||||
if (params.filterand.includes(shared_consts.FILTER_USER_NO_VERIFIED_APORTADOR))
|
||||
filtriadded.push({
|
||||
$or: [
|
||||
{verified_by_aportador: {$exists: false}},
|
||||
{verified_by_aportador: {$exists: true, $eq: false}}],
|
||||
|
||||
});
|
||||
if (params.filterand.includes(shared_consts.FILTER_USER_NO_DREAM))
|
||||
filtriadded.push({
|
||||
'profile.my_dream': {
|
||||
@@ -2168,6 +2174,9 @@ module.exports = {
|
||||
return mystr.replace(/-/g, '/');
|
||||
},
|
||||
|
||||
isNumber(n){
|
||||
return typeof(n) != "boolean" && !isNaN(n) && n;
|
||||
},
|
||||
getNumObj(obj) {
|
||||
let count = 0;
|
||||
for (let properties in obj) {
|
||||
|
||||
Reference in New Issue
Block a user