Merged in fix/SW-1014-city-not-found-on-map (pull request #973)

fix(SW-1014): Fixed issue where google didn't found city.

Approved-by: Niclas Edenvin
This commit is contained in:
Pontus Dreij
2024-11-25 15:05:34 +00:00
7 changed files with 50 additions and 9 deletions

View File

@@ -160,7 +160,10 @@ export const getBookingConfirmation = cache(
)
export const getCityCoordinates = cache(
async function getMemoizedCityCoordinates(input: { city: string }) {
async function getMemoizedCityCoordinates(input: {
city: string
hotel: { address: string }
}) {
return serverClient().hotel.map.city(input)
}
)