Merge pull request #2801 from QuincyLarson/email-script

update email script to reflect loopback changes
pull/2821/head
Berkeley Martinez 2015-08-28 10:15:35 -07:00
commit fb2cce826e
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ MongoClient.connect(secrets.db, function(err, database) {
throw err;
}
database.collection('users').aggregate([
database.collection('user').aggregate([
{$match: { 'email': { $exists: true } } },
{$match: { 'email': { $ne: '' } } },
{$match: { 'email': { $ne: null } } },