diff --git a/lib/validations/event-type.ts b/lib/validations/event-type.ts index e0ec45dcf2..6b03597f2a 100644 --- a/lib/validations/event-type.ts +++ b/lib/validations/event-type.ts @@ -39,7 +39,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: jsonSchema.optional().nullish(), recurringEvent: jsonSchema.optional().nullable().or(z.null()), }) .strict();