fixed wrong variable name
This commit is contained in:
parent
c869f7c6ac
commit
07ffeb8de4
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue