mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Fixing up commit according to review
This commit is contained in:
@@ -514,7 +514,6 @@ async function _inviteByUUID (uuid, group, inviter, req, res) {
|
||||
}
|
||||
|
||||
userToInvite.invitations.party = {id: group._id, name: group.name, inviter: inviter._id};
|
||||
return userToInvite.save();
|
||||
}
|
||||
|
||||
let groupLabel = group.type === 'guild' ? 'Guild' : 'Party';
|
||||
|
||||
Reference in New Issue
Block a user