Skip to content
Snippets Groups Projects
Verified Commit 8f55d9f0 authored by Damien's avatar Damien
Browse files

FEAT #52 Include id in group detailled

parent b87beca7
No related branches found
No related tags found
No related merge requests found
...@@ -111,7 +111,7 @@ class GroupController ...@@ -111,7 +111,7 @@ class GroupController
return $response->withStatus(400)->withJson(['errors' => 'Group not found']); return $response->withStatus(400)->withJson(['errors' => 'Group not found']);
} }
$group['users'] = GroupModel::getUsersByGroupId(['groupId' => $group['group_id'], 'select' => ['users.user_id', 'users.firstname', 'users.lastname']]); $group['users'] = GroupModel::getUsersByGroupId(['groupId' => $group['group_id'], 'select' => ['users.id', 'users.user_id', 'users.firstname', 'users.lastname']]);
$group['security'] = GroupModel::getSecurityByGroupId(['groupId' => $group['group_id']]); $group['security'] = GroupModel::getSecurityByGroupId(['groupId' => $group['group_id']]);
$group['services'] = GroupModel::getAllServicesByGroupId(['groupId' => $group['group_id']]); $group['services'] = GroupModel::getAllServicesByGroupId(['groupId' => $group['group_id']]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment