feat(SW-697): Update package structure on price from API

This commit is contained in:
Pontus Dreij
2024-11-04 14:20:46 +01:00
parent f836695919
commit 7f9af6c12e
14 changed files with 178 additions and 54 deletions

View File

@@ -1086,8 +1086,8 @@ export const hotelQueryRouter = router({
)
if (freeBreakfastPackage) {
if (originalBreakfastPackage) {
freeBreakfastPackage.originalPrice =
originalBreakfastPackage.packagePrice
freeBreakfastPackage.localPrice.price =
originalBreakfastPackage.localPrice.price
}
return [freeBreakfastPackage]
}