diff --git a/src/server/api/routers/weather.ts b/src/server/api/routers/weather.ts index 124f42d45..ac83728b3 100644 --- a/src/server/api/routers/weather.ts +++ b/src/server/api/routers/weather.ts @@ -5,8 +5,8 @@ import { adminProcedure, createTRPCRouter, publicProcedure } from '../trpc'; const citySchema = z.object({ id: z.number(), name: z.string(), - country: z.string(), - country_code: z.string(), + country: z.string().optional(), + country_code: z.string().optional(), latitude: z.number(), longitude: z.number(), population: z.number().optional(),