mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -08:00
revert controller change
This commit is contained in:
parent
0d59ccd6a6
commit
0fb3d83fac
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue