Skip to content

Scheduling infrastructure for absolutely everyone.

fix: any or null

Agusti Fernandez Pardo5072ac7d5218
diff --git a/lib/validations/event-type.ts b/lib/validations/event-type.ts
index eb1a5cc984d..e5d96ce6368 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: z.null().or(jsonSchema),
+ metadata: z.any().optional().nullable().or(z.null()),
recurringEvent: jsonSchema.optional().nullable().or(z.null()),
})
.strict();