From 6d6274a46529b1b38daf5dcb5ee6ed563ed62073 Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Thu, 27 Aug 2015 16:37:01 -0700 Subject: [PATCH] update get-emails script --- seed/get-emails.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/get-emails.js b/seed/get-emails.js index b53ac2ae1b..290e37eeae 100644 --- a/seed/get-emails.js +++ b/seed/get-emails.js @@ -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 } } },