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(