From d1ad9a6e481289e957e312d83cc02f6070558b14 Mon Sep 17 00:00:00 2001 From: sayliraut Date: Wed, 17 Jul 2024 17:49:39 +0530 Subject: [PATCH] changes --- app/Services/APIs/CustomerAPIs/RestaurantApiServices.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/APIs/CustomerAPIs/RestaurantApiServices.php b/app/Services/APIs/CustomerAPIs/RestaurantApiServices.php index d3b93bd..d1c1db2 100644 --- a/app/Services/APIs/CustomerAPIs/RestaurantApiServices.php +++ b/app/Services/APIs/CustomerAPIs/RestaurantApiServices.php @@ -164,7 +164,7 @@ class RestaurantApiServices ->toArray(); // Fetch the restaurant details - $restaurants = ManageRestaurant::where('is_active', '1') + $restaurants = ManageRestaurant::with('closedRestaurant')->where('is_active', '1') ->whereIn('id', $customerFavouriteRestaurants) ->get();