mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 07:52:15 +00:00
fix(groups): send error if +1 errored
This commit is contained in:
parent
aff885c05c
commit
5b6c4427b5
2 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,6 @@
|
|||
db.users.update({},{$set:{
|
||||
'items.food.Cake_Skeleton':1,
|
||||
'items.food.Cake_Base':1,
|
||||
'items.food.Cake_Base':1,
|
||||
'items.food.Cake_CottonCandyBlue':1,
|
||||
'items.food.Cake_CottonCandyPink':1,
|
||||
'items.food.Cake_Shade':1,
|
||||
|
|
|
|||
|
|
@ -264,6 +264,7 @@ api.likeChatMessage = function(req, res) {
|
|||
}
|
||||
group.markModified('chat');
|
||||
group.save(function(err,_saved){
|
||||
if (err) return next(err);
|
||||
return res.send(_saved.chat);
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue