fix: update booking service schemas

This commit is contained in:
Christel Westerberg
2024-11-18 10:54:35 +01:00
committed by Joakim Jäderberg
parent 9c7ac78e14
commit d67affd677
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>