diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/(standard)/details/page.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/(standard)/details/page.tsx index 7ffa673ee..a8c5073b0 100644 --- a/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/(standard)/details/page.tsx +++ b/apps/scandic-web/app/[lang]/(live)/(public)/hotelreservation/(standard)/details/page.tsx @@ -37,7 +37,9 @@ export default async function DetailsPage({ searchParams, }: PageArgs) { const selectRoomParams = new URLSearchParams(searchParams) - const booking = convertSearchParamsToObj(searchParams) + + const { errorCode, ...booking } = + convertSearchParamsToObj(searchParams) if ("modifyRateIndex" in booking) { selectRoomParams.delete("modifyRateIndex") delete booking.modifyRateIndex diff --git a/apps/scandic-web/types/components/hotelReservation/selectRate/selectRate.ts b/apps/scandic-web/types/components/hotelReservation/selectRate/selectRate.ts index 4866a354f..93369f85e 100644 --- a/apps/scandic-web/types/components/hotelReservation/selectRate/selectRate.ts +++ b/apps/scandic-web/types/components/hotelReservation/selectRate/selectRate.ts @@ -24,6 +24,7 @@ export interface Room { export interface SelectRateSearchParams { bookingCode?: string city?: string + errorCode?: string fromDate: string hotelId: string rooms: Room[]