mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
groups: try to update GroupsCtrl scope to notify of joined / left
groups, not working
This commit is contained in:
@@ -188,7 +188,7 @@ api.invite = function(req, res, next) {
|
||||
invite.save();
|
||||
Group.findById(group._id)
|
||||
.populate('members', partyFields).exec(function(err, saved){
|
||||
res.json(group);
|
||||
res.json(saved);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user