This commit is contained in:
sayliraut
2024-07-17 15:41:49 +05:30
parent 0cd46ad83d
commit 4808f0f3a8

View File

@@ -40,7 +40,7 @@ class RestaurantApi_Service
->where('principal_xid', $userDetail->id)
->get();
$restaurantDetails = [];
// $restaurantDetails = [];
$isActive = true;
$inactiveMessage = "";
@@ -59,7 +59,7 @@ class RestaurantApi_Service
}
// Add restaurant details to the array
$restaurantDetails[] = $restaurant;
$restaurantDetails = $restaurant;
}
}