From 6612919f961c7c7f8eb8eb79a026c3834ea1d253 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Wed, 27 Dec 2017 12:22:12 -0500 Subject: [PATCH] remove stray async --- server/migrations/moveBucket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/migrations/moveBucket.js b/server/migrations/moveBucket.js index 0577a13f..07a64a74 100644 --- a/server/migrations/moveBucket.js +++ b/server/migrations/moveBucket.js @@ -27,7 +27,7 @@ mongoose.connection.on('error', () => { const CHUNK = 1000; Project.count({}) -.exec().then(async (numProjects) => { +.exec().then((numProjects) => { console.log(numProjects); let index = 0; async.whilst(