fix: pass lang to create booking

This commit is contained in:
Christel Westerberg
2024-12-03 09:11:32 +01:00
parent 830f8bf261
commit 4288e643c6
4 changed files with 16 additions and 6 deletions

View File

@@ -206,6 +206,7 @@ export default function PaymentClient({
const paymentRedirectUrl = `${env.NEXT_PUBLIC_NODE_ENV === "development" ? `http://localhost:${env.NEXT_PUBLIC_PORT}` : ""}/${lang}/hotelreservation/payment-callback`
initiateBooking.mutate({
language: lang,
hotelId: hotel,
checkInDate: fromDate,
checkOutDate: toDate,