fix: null or

pull/9078/head
Agusti Fernandez Pardo 2022-05-18 14:41:55 +02:00
parent 0ca9748674
commit 8481a96829
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ const schemaEventTypeBaseParams = z
description: z.string().optional().nullable(),
length: z.number().int(),
locations: jsonSchema.optional().nullable().or(z.null()),
metadata: jsonSchema.optional().nullable().or(z.null()),
metadata: z.null().or(jsonSchema).optional().nullable(),
recurringEvent: jsonSchema.optional().nullable().or(z.null()),
})
.strict();