diff --git a/app/owner/reservations/page.js b/app/owner/reservations/page.js index 1cf4b2c..1af5ac4 100644 --- a/app/owner/reservations/page.js +++ b/app/owner/reservations/page.js @@ -276,7 +276,7 @@ export default function OwnerReservationRequestsPage() { if (!r.property && r.propertyId) { try { const propRes = await getRentProperty(r.propertyId); - r.property = propRes?.data || propRes || null; + r.property = propRes?.data?.propertyInformation || propRes?.data || propRes || null; } catch (e) { console.warn('Failed to load property', r.propertyId); } diff --git a/app/reservations/page.js b/app/reservations/page.js index f2cd398..7686e65 100644 --- a/app/reservations/page.js +++ b/app/reservations/page.js @@ -236,7 +236,7 @@ export default function UserReservationsPage() { if (!r.property && r.propertyId) { try { const propRes = await getRentProperty(r.propertyId); - r.property = propRes?.data || propRes || null; + r.property = propRes?.data?.propertyInformation || propRes?.data || propRes || null; } catch (e) { console.warn('Failed to load property', r.propertyId); }