fixed error message
This commit is contained in:
parent
ac6411743b
commit
3f74ff25d2
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ class StatuslabelsController extends Controller
|
||||||
$request->except('deployable', 'pending', 'archived');
|
$request->except('deployable', 'pending', 'archived');
|
||||||
|
|
||||||
if (! $request->filled('type')) {
|
if (! $request->filled('type')) {
|
||||||
return response()->json(Helper::formatStandardApiResponse('error', null, ['type' => ['Status label type is required.']]), 500);
|
|
||||||
|
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