mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Clean up references to repo as HabitRPG/habitrpg (#8742)
* Confirmed changes * Removed bad link This was apparantly missed in #8051 * Confirmed changes * Fixed links to milestones
This commit is contained in:
committed by
Keith Holliday
parent
be948a1bf2
commit
97a38e68c5
@@ -81,7 +81,7 @@ schema.methods.syncToUser = async function syncChallengeToUser (user) {
|
||||
// Add challenge to user.challenges
|
||||
if (!_.includes(user.challenges, challenge._id)) {
|
||||
// using concat because mongoose's protection against concurrent array modification isn't working as expected.
|
||||
// see https://github.com/HabitRPG/habitrpg/pull/7787#issuecomment-232972394
|
||||
// see https://github.com/HabitRPG/habitica/pull/7787#issuecomment-232972394
|
||||
user.challenges = user.challenges.concat([challenge._id]);
|
||||
}
|
||||
// Sync tags
|
||||
|
||||
Reference in New Issue
Block a user