Changed success status code
This commit is contained in:
@@ -414,7 +414,7 @@ class ObdController extends Controller
|
|||||||
return response()->json([
|
return response()->json([
|
||||||
'item_code' => $itemCode->code,
|
'item_code' => $itemCode->code,
|
||||||
'item_description' => $itemCode->description
|
'item_description' => $itemCode->description
|
||||||
], 400);
|
], 200);
|
||||||
}
|
}
|
||||||
catch (\Exception $e)
|
catch (\Exception $e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user