mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
upgrade lodash to 2.2.1
This commit is contained in:
@@ -243,7 +243,7 @@ api.deleteChatMessage = function(req, res, next){
|
||||
return res.json(401, {err: "Not authorized to delete this message!"})
|
||||
}
|
||||
|
||||
group.chat = _.without(group.chat, message);
|
||||
_.pull(group.chat, message);
|
||||
|
||||
group.save(function(err, data){
|
||||
if(err) return res.json(500, {err: err});
|
||||
|
||||
Reference in New Issue
Block a user