mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
oops
This commit is contained in:
parent
0fb3d83fac
commit
870dc747db
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue