revert controller change
This commit is contained in:
parent
0d59ccd6a6
commit
0fb3d83fac
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class StatuslabelsController extends Controller
|
||||||
|
|
||||||
if (! $request->filled('type')) {
|
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;
|
$statuslabel = new Statuslabel;
|
||||||
|
|
Loading…
Add table
Reference in a new issue