mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Formatting for API response
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
a32c679519
commit
9b146ae1d2
|
@ -66,8 +66,8 @@ class LocationsTransformer
|
|||
'update' => Gate::allows('update', Location::class) ? true : false,
|
||||
'delete' => $location->isDeletable(),
|
||||
'bulk_selectable' => [
|
||||
'delete' => $location->isDeletable()]
|
||||
,
|
||||
'delete' => $location->isDeletable()
|
||||
],
|
||||
'clone' => (Gate::allows('create', Location::class) && ($location->deleted_at == '')),
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue