fix(SW-2614): send language to API

We were missing the language param on some endpoints. We are still
missing it on some, but I left those without when we don't need it, e.g.
when only caring about the IDs in the response.
This commit is contained in:
Niclas Edenvin
2025-05-06 11:07:04 +02:00
committed by Michael Zetterberg
parent 35a2ae9dcc
commit e0fe5ff0d5
7 changed files with 47 additions and 12 deletions

View File

@@ -112,6 +112,7 @@ export default function GuestDetails({
phoneNumber: data.phoneNumber,
countryCode: data.countryCode,
},
language: lang,
})
}

View File

@@ -89,6 +89,7 @@ export default function Confirmation({
refId: bookedRoom.refId,
checkInDate,
checkOutDate,
language: lang,
})
}