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();