mirror of
https://github.com/snipe/snipe-it.git
synced 2026-05-02 20:57:19 +00:00
Fixes #4043 - standardize groups API response
This commit is contained in:
@ -73,7 +73,7 @@ class GroupsController extends Controller
|
||||
{
|
||||
$this->authorize('view', Group::class);
|
||||
$group = Group::findOrFail($id);
|
||||
return $group;
|
||||
return (new GroupsTransformer)->transformGroup($group);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user