From 9b146ae1d2fd80cda91ca5f0a87924c5ce78e145 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 20 Feb 2024 16:40:51 +0000 Subject: [PATCH] Formatting for API response Signed-off-by: snipe --- app/Http/Transformers/LocationsTransformer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 == '')), ];