🐛 Fix unknown country in tRPC citySchema
This commit is contained in:
1 parent
4d716bbcaf
commit
4aa09b7e95
1 file changed
+2
-2
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user