Merge pull request #2801 from QuincyLarson/email-script
update email script to reflect loopback changes
This commit is contained in:
@ -9,7 +9,7 @@ MongoClient.connect(secrets.db, function(err, database) {
|
|||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
|
||||||
database.collection('users').aggregate([
|
database.collection('user').aggregate([
|
||||||
{$match: { 'email': { $exists: true } } },
|
{$match: { 'email': { $exists: true } } },
|
||||||
{$match: { 'email': { $ne: '' } } },
|
{$match: { 'email': { $ne: '' } } },
|
||||||
{$match: { 'email': { $ne: null } } },
|
{$match: { 'email': { $ne: null } } },
|
||||||
|
Reference in New Issue
Block a user