diff --git a/app/Services/APIs/RestaurantService/RedeemApiService.php b/app/Services/APIs/RestaurantService/RedeemApiService.php index ba3d430..fd29ff4 100644 --- a/app/Services/APIs/RestaurantService/RedeemApiService.php +++ b/app/Services/APIs/RestaurantService/RedeemApiService.php @@ -27,7 +27,7 @@ class RedeemApiService $restDetail = RedeemRestaurant::with([ 'customer:id,first_name,last_name,profile_photo', - 'restaurant:id,image,name' + 'restaurant:id,short_id,image,name' ]) ->select('id', 'iam_principal_xid', 'manage_restaurants_xid', 'redeem_date', 'is_active', 'count') ->where('manage_restaurants_xid', $restaurantRoles->restaurant_xid) @@ -60,7 +60,7 @@ class RedeemApiService $restundoresumptionDetail = RedeemRestaurant::with([ 'customer:id,first_name,last_name,profile_photo', - 'restaurant:id,image,name' + 'restaurant:id,short_id,image,name' ]) ->select('id', 'iam_principal_xid', 'manage_restaurants_xid', 'redeem_date', 'is_active', 'count', 'redeemption_undone_date') ->where('manage_restaurants_xid', $restaurantRoles->restaurant_xid)