3
0
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:
snipe
2017-09-27 15:18:29 -07:00
parent 0ab9bc1db8
commit ecf041fa10
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ class GroupsController extends Controller
{
$this->authorize('view', Group::class);
$group = Group::findOrFail($id);
return $group;
return (new GroupsTransformer)->transformGroup($group);
}