Updated alignment on GET and POST structure
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
This commit is contained in:
@@ -112,9 +112,9 @@ class CharacteristicsController extends Controller
|
|||||||
'characteristics_type',
|
'characteristics_type',
|
||||||
'name',
|
'name',
|
||||||
'inspection_type',
|
'inspection_type',
|
||||||
'upper',
|
|
||||||
'lower',
|
'lower',
|
||||||
'middle',
|
'middle',
|
||||||
|
'upper',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if ($characteristics->count() == 0) {
|
if ($characteristics->count() == 0) {
|
||||||
@@ -2284,9 +2284,9 @@ class CharacteristicsController extends Controller
|
|||||||
'name' => $charMaster?->name ?? '',
|
'name' => $charMaster?->name ?? '',
|
||||||
'inspection_type' => $charMaster?->inspection_type ?? '',
|
'inspection_type' => $charMaster?->inspection_type ?? '',
|
||||||
'characteristics_type' => $charMaster?->characteristics_type ?? '',
|
'characteristics_type' => $charMaster?->characteristics_type ?? '',
|
||||||
'upper' => (string) $charMaster?->upper ?? '',
|
|
||||||
'lower' => (string) $charMaster?->lower ?? '',
|
'lower' => (string) $charMaster?->lower ?? '',
|
||||||
'middle' => (string) $charMaster?->middle ?? '',
|
'middle' => (string) $charMaster?->middle ?? '',
|
||||||
|
'upper' => (string) $charMaster?->upper ?? '',
|
||||||
];
|
];
|
||||||
|
|
||||||
return response()->json($output, 200);
|
return response()->json($output, 200);
|
||||||
|
|||||||
Reference in New Issue
Block a user