Skip to content

A free open source IT asset/license management system

Formatting for API response

snipe9b146ae1d2fd
diff --git a/app/Http/Transformers/LocationsTransformer.php b/app/Http/Transformers/LocationsTransformer.php
index b072f9ed40..513b967f42 100644
--- a/app/Http/Transformers/LocationsTransformer.php
+++ b/app/Http/Transformers/LocationsTransformer.php
@@ -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 == '')),
];