Scheduling infrastructure for absolutely everyone.
fix: null or
Agusti Fernandez Pardo8481a96829da
diff --git a/lib/validations/event-type.ts b/lib/validations/event-type.tsindex 595217a37ab..28dd76cf11f 100644--- a/lib/validations/event-type.ts+++ b/lib/validations/event-type.ts@@ -40,7 +40,7 @@ const schemaEventTypeBaseParams = zdescription: 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();