fix: update booking service schemas

This commit is contained in:
Christel Westerberg
2024-11-18 10:54:35 +01:00
parent 7714a48fb4
commit f0c7aa349c
6 changed files with 61 additions and 17 deletions

View File

@@ -107,10 +107,10 @@ export default async function StepPage({
id: "Select payment method",
})
const roomPrice =
user && roomAvailability.memberRate
? roomAvailability.memberRate?.localPrice.pricePerStay
: roomAvailability.publicRate!.localPrice.pricePerStay
const roomPrice = {
memberPrice: roomAvailability.memberRate?.localPrice.pricePerStay,
publicPrice: roomAvailability.publicRate!.localPrice.pricePerStay,
}
return (
<section>