This commit is contained in:
Godfrey M 2024-10-22 14:27:32 -07:00
parent 0fb3d83fac
commit 870dc747db

View file

@ -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;