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

This commit is contained in:
Pontus Dreij
2024-11-25 15:38:08 +01:00
parent 0a35243d88
commit 0ef12d4a29
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)
}
)