fixed sending int
This commit is contained in:
parent
f6e25d606a
commit
afa1edeb8d
|
@ -45,8 +45,8 @@ class GroupController {
|
||||||
|
|
||||||
let group = await GroupService.getByName(groupName);
|
let group = await GroupService.getByName(groupName);
|
||||||
|
|
||||||
return res.status(200).send(group.id);
|
return res.status(200).send(group.id.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default new GroupController();
|
export default new GroupController();
|
||||||
|
|
Loading…
Reference in New Issue