mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
rever to query
This commit is contained in:
parent
9966d06c5a
commit
46363785c8
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ api.invite = function(req, res, next) {
|
|||
}
|
||||
|
||||
invite.save();
|
||||
group
|
||||
Group.findById(group._id)
|
||||
.populate('members', partyFields).exec(function(err, saved){
|
||||
res.json(saved);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue