Update error message for user not found in updateGR method for clarity
This commit is contained in:
@@ -98,7 +98,7 @@ class PdfController extends Controller
|
|||||||
if (!$user) {
|
if (!$user) {
|
||||||
return response()->json([
|
return response()->json([
|
||||||
'status_code' => 'ERROR',
|
'status_code' => 'ERROR',
|
||||||
'status_description' => "'{$data['scanned_by']}' not found for plant {$data['plant_code']}!"
|
'status_description' => "'{$data['scanned_by']}' user not found!"
|
||||||
], 404);
|
], 404);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user