fix(SW-978) Checks for null data on hotels

This commit is contained in:
Pontus Dreij
2024-11-26 13:55:44 +01:00
parent 4de3f4717c
commit 3d78bdd671
10 changed files with 54 additions and 26 deletions

View File

@@ -77,6 +77,6 @@ export const getRoomPackagesInputSchema = z.object({
export const getCityCoordinatesInputSchema = z.object({
city: z.string(),
hotel: z.object({
address: z.string(),
address: z.string().optional(),
}),
})