From afa1edeb8d86ded8f9202c993f660f78f8cb28e1 Mon Sep 17 00:00:00 2001 From: leca Date: Thu, 31 Oct 2024 12:37:17 +0300 Subject: [PATCH] fixed sending int --- src/controllers/group.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();