added new endpoint

This commit is contained in:
2024-11-03 00:01:54 +03:00
parent 3858a3c06e
commit 0b32306f84
2 changed files with 10 additions and 0 deletions

View File

@@ -65,6 +65,14 @@ class GroupController {
return res.status(200).send(result);
}
async getAdminId(req, res) {
const groupId = req.params.groupId;
let result = await GroupService.getAdminId(groupId);
return res.status(200).send(result.toString())
}
}
export default new GroupController();