mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
v3: more verbose logging in production and fix migration bugs
This commit is contained in:
@@ -95,7 +95,7 @@ function processChallenges (afterId) {
|
||||
});
|
||||
|
||||
promises.push(newUserCollection.updateMany({
|
||||
_id: {$in: oldChallenge.members},
|
||||
_id: {$in: oldChallenge.members || []},
|
||||
}, {
|
||||
$push: {challenges: oldChallenge._id},
|
||||
}, {multi: true}));
|
||||
|
||||
Reference in New Issue
Block a user