diff --git a/src/controllers/group.js b/src/controllers/group.js index 25b5fee..373b500 100644 --- a/src/controllers/group.js +++ b/src/controllers/group.js @@ -45,8 +45,8 @@ class GroupController { 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(); \ No newline at end of file +export default new GroupController();