fix: unbreak toApiLang call that failed everytime

This commit is contained in:
Simon Emanuelsson
2025-04-03 09:16:15 +02:00
committed by Michael Zetterberg
parent 30c7eb07fa
commit 6d869ceba7
7 changed files with 23 additions and 20 deletions

View File

@@ -618,7 +618,6 @@ export async function getSelectedRoomAvailability(
bookingCode,
children,
hotelId,
inputLang,
roomStayEndDate,
roomStayStartDate,
redemption,
@@ -631,7 +630,7 @@ export async function getSelectedRoomAvailability(
...(children && { children }),
...(bookingCode && { bookingCode }),
...(redemption && { isRedemption: "true" }),
language: inputLang ?? lang,
language: lang,
}
metrics.selectedRoomAvailability.counter.add(1, input)