diff --git a/lib/validations/event-type.ts b/lib/validations/event-type.ts index 4404390a43..69fd0173ca 100644 --- a/lib/validations/event-type.ts +++ b/lib/validations/event-type.ts @@ -85,4 +85,6 @@ export const schemaEventTypeReadPublic = EventType.pick({ currency: true, slotInterval: true, successRedirectUrl: true, -}).partial(); +}) + .merge(z.object({ metadata: jsonSchema.nullable().nullish() })) + .partial();