fixed wrong variable name

This commit is contained in:
leca 2024-11-02 12:49:52 +03:00
parent c869f7c6ac
commit 07ffeb8de4
1 changed files with 1 additions and 1 deletions

View File

@ -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())
}