added test if there's no group admin

This commit is contained in:
2024-11-04 04:42:04 +03:00
parent 693a0980d9
commit 96133b7733

View File

@@ -71,6 +71,8 @@ class GroupController {
let result = await GroupService.getAdminId(groupId);
if (!result) result = -1
return res.status(200).send(result.toString())
}
}