Merged in fix/SW-2838-in-select-hotel-lang-switch- (pull request #2261)

fix: SW-2838 Use of city identifier instead of city name

* fix: SW-2838 Updated selection to city identifier instead of city name


Approved-by: Christian Andolf
Approved-by: Linus Flood
This commit is contained in:
Hrishikesh Vaipurkar
2025-06-03 07:58:00 +00:00
parent 3d80f9fecb
commit f9e838e77a
7 changed files with 14 additions and 3 deletions

View File

@@ -18,5 +18,7 @@ export function mapLocationToAutoCompleteLocation(
location.type === "hotels"
? location.relationships.city.name
: location.country,
cityIdentifier:
location.type === "cities" ? location.cityIdentifier : undefined,
}
}