mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
fix(event): Leave old achievement
For better compatibility with mobile app.
This commit is contained in:
@@ -25,10 +25,7 @@ db.users.update({},{$inc:{
|
|||||||
|
|
||||||
db.users.update(
|
db.users.update(
|
||||||
{'achievements.habitBirthday':true},
|
{'achievements.habitBirthday':true},
|
||||||
{$set:{
|
{$set:{'achievements.habitBirthdays':1}},
|
||||||
'achievements.habitBirthday':null,
|
|
||||||
'achievements.habitBirthdays':1
|
|
||||||
}},
|
|
||||||
{multi:1}
|
{multi:1}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user