diff --git a/src/controllers/group.js b/src/controllers/group.js index b5a0e17..2d6593a 100644 --- a/src/controllers/group.js +++ b/src/controllers/group.js @@ -17,7 +17,7 @@ class GroupController { log.info(`New group with name ${groupName} was just created by user ${user.login.username}`); - await UserService.joinGroup(user.login.id, status.id); + await UserService.joinGroup(user.login.id, group.id); // return res.status(200).send(translate(req.headers["accept-language"], responseCodes.responses.general.ok)); return res.status(200).send(group.id.toString()) }