update get-emails script

This commit is contained in:
Quincy Larson
2015-08-27 16:37:01 -07:00
parent 3014722a28
commit f3b4274634

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 } } },