mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
fix(event): Leave old achievement
For better compatibility with mobile app.
This commit is contained in:
parent
a654d7ea10
commit
efd1333c06
1 changed files with 1 additions and 4 deletions
|
|
@ -25,10 +25,7 @@ db.users.update({},{$inc:{
|
|||
|
||||
db.users.update(
|
||||
{'achievements.habitBirthday':true},
|
||||
{$set:{
|
||||
'achievements.habitBirthday':null,
|
||||
'achievements.habitBirthdays':1
|
||||
}},
|
||||
{$set:{'achievements.habitBirthdays':1}},
|
||||
{multi:1}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue