mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-24 06:35:37 +00:00
fix(event): Correct achievement award
This commit is contained in:
parent
4ebc2953f5
commit
a654d7ea10
1 changed files with 4 additions and 4 deletions
|
|
@ -24,16 +24,16 @@ db.users.update({},{$inc:{
|
|||
}},{multi:1})
|
||||
|
||||
db.users.update(
|
||||
{'profile.achievements.habitBirthday':true},
|
||||
{'achievements.habitBirthday':true},
|
||||
{$set:{
|
||||
'profile.achievements.habitBirthday':null,
|
||||
'profile.achievements.habitBirthdays':1
|
||||
'achievements.habitBirthday':null,
|
||||
'achievements.habitBirthdays':1
|
||||
}},
|
||||
{multi:1}
|
||||
)
|
||||
|
||||
db.users.update(
|
||||
{},
|
||||
{$inc:{'profile.achievements.habitBirthdays':1}},
|
||||
{$inc:{'achievements.habitBirthdays':1}},
|
||||
{multi:1}
|
||||
)
|
||||
Loading…
Reference in a new issue