feat: consume serach params in summary and step page

This commit is contained in:
Christel Westerberg
2024-10-24 10:53:05 +02:00
parent 85fdefb5ac
commit 7954c704d9
27 changed files with 376 additions and 263 deletions

View File

@@ -32,9 +32,9 @@ import {
} from "./schemas/packages"
import {
getBreakfastPackageInput,
getHotelDataInputSchema,
getHotelInputSchema,
getHotelsAvailabilityInputSchema,
getlHotelDataInputSchema,
getRatesInputSchema,
getRoomsAvailabilityInputSchema,
} from "./input"
@@ -584,7 +584,7 @@ export const hotelQueryRouter = router({
}),
hotelData: router({
get: serviceProcedure
.input(getlHotelDataInputSchema)
.input(getHotelDataInputSchema)
.query(async ({ ctx, input }) => {
const { hotelId, language, include, isCardOnlyPayment } = input