Merge pull request 'sayliR' (#90) from sayliR into main
Reviewed-on: Nikhil.Kadam/vib360#90
This commit is contained in:
@@ -346,7 +346,7 @@ class AssetadmintController extends Controller
|
||||
});
|
||||
|
||||
if ($assets->isEmpty()) {
|
||||
return response()->json(['message' => 'No assets found for this customer ID'], 404);
|
||||
return response()->json(['message' => 'No assets found for this customer ID'], 200);
|
||||
}
|
||||
|
||||
return jsonResponseWithSuccessMessage('Assets fetched successfully', [
|
||||
|
||||
Reference in New Issue
Block a user