Merged in feat/LOY-430-reward-nights (pull request #3295)

Feat/LOY-430 reward nights

* chore(LOY-430): add reward nights request and dynamic content

* chore(LOY-430): fix Reward Night component

* Refactor: use existing endpoint and add rewardNight data to that response instead


Approved-by: Linus Flood
This commit is contained in:
Matilda Landström
2025-12-08 07:44:58 +00:00
parent 9d8399b7c7
commit 5986828580
12 changed files with 152 additions and 12 deletions

View File

@@ -229,7 +229,7 @@ export const hotelQueryRouter = router({
return hotels
}),
}),
getDestinationsMapData: serviceProcedure
getAllHotelData: serviceProcedure
.input(getDestinationsMapDataInput)
.query(async function ({ input, ctx }) {
const lang = input?.lang ?? ctx.lang