From 08143fc2a6735707541b3a8413749069d30d2420 Mon Sep 17 00:00:00 2001 From: sayliraut Date: Tue, 11 Jun 2024 16:45:35 +0530 Subject: [PATCH] change --- 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 d877b6a..669397b 100644 --- a/app/Services/APIs/CustomerAPIs/RestaurantApiServices.php +++ b/app/Services/APIs/CustomerAPIs/RestaurantApiServices.php @@ -223,7 +223,7 @@ class RestaurantApiServices } // Check if the restaurant has already been redeemed - $restaurantExist = RedeemRestaurant::where('manage_restaurants_xid', $restaurant->id) + $restaurantExist = RedeemRestaurant::where('manage_restaurants_xid', $restaurant->id)->where('iam_principal_xid', $customerIamId) ->where('is_redeem', 1) ->first();