Merge branch 'master' into feature/tracking
This commit is contained in:
@@ -18,6 +18,7 @@ export async function request<T>(
|
||||
try {
|
||||
client.setHeaders({
|
||||
access_token: env.CMS_ACCESS_TOKEN,
|
||||
branch: env.CMS_BRANCH,
|
||||
"Content-Type": "application/json",
|
||||
...params?.headers,
|
||||
})
|
||||
|
||||
@@ -144,7 +144,7 @@ export const getBookingConfirmation = cache(
|
||||
export const getCityCoordinates = cache(
|
||||
async function getMemoizedCityCoordinates(input: {
|
||||
city: string
|
||||
hotel: { address: string }
|
||||
hotel: { address: string | undefined }
|
||||
}) {
|
||||
return serverClient().hotel.map.city(input)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user