diff --git a/migrations/users/take-this.js b/migrations/users/take-this.js index 43ae412d8a..a5b7a240b8 100644 --- a/migrations/users/take-this.js +++ b/migrations/users/take-this.js @@ -73,7 +73,7 @@ export default async function processUsers () { break; } else { query._id = { - $gt: users[users.length - 1]._id, // Here you’re passing the whole user object instead of its _id + $gt: users[users.length - 1]._id, }; }