Skip to content

Scheduling infrastructure for absolutely everyone.

fix: metadata nullish

Agusti Fernandez Pardof3271f77247c
diff --git a/lib/validations/event-type.ts b/lib/validations/event-type.ts
index e0ec45dcf2e..6b03597f2af 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();