revert controller change

This commit is contained in:
Godfrey M 2024-10-22 14:26:54 -07:00
parent 0d59ccd6a6
commit 0fb3d83fac

View file

@ -96,7 +96,7 @@ class StatuslabelsController extends Controller
if (! $request->filled('type')) {
return response()->json(Helper::formatStandardApiResponse('error', null, ['type' => [trans('admin/statuslabels/message.require_status_label')]]));
return response()->json(Helper::formatStandardApiResponse('error', null, ['type' => 'Status label type is required.']));
}
$statuslabel = new Statuslabel;