From 870dc747db51fa7e0f0ea7d4fac9d857f10191cd Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Tue, 22 Oct 2024 14:27:32 -0700 Subject: [PATCH] oops --- app/Http/Controllers/Api/StatuslabelsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/StatuslabelsController.php b/app/Http/Controllers/Api/StatuslabelsController.php index 55bbe93967..7e4851ff5a 100644 --- a/app/Http/Controllers/Api/StatuslabelsController.php +++ b/app/Http/Controllers/Api/StatuslabelsController.php @@ -96,7 +96,7 @@ class StatuslabelsController extends Controller if (! $request->filled('type')) { - return response()->json(Helper::formatStandardApiResponse('error', null, ['type' => 'Status label type is required.'])); + return response()->json(Helper::formatStandardApiResponse('error', null, ['type' => ['Status label type is required.']])); } $statuslabel = new Statuslabel;