mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-15 00:12:17 +00:00
remove extraneous comment
This commit is contained in:
parent
9884ed71f8
commit
30546ccf12
1 changed files with 0 additions and 1 deletions
|
|
@ -442,7 +442,6 @@ api.join = function(req, res, next) {
|
|||
|
||||
if (!_.contains(group.members, user._id)){
|
||||
group.members.push(user._id);
|
||||
//Can we have someone joing without an invite? I added this for testing since we join users without an invite
|
||||
if (group.invites.length > 0) {
|
||||
group.invites.splice(_.indexOf(group.invites, user._id), 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue