Scheduling infrastructure for absolutely everyone.
fix: recurring and metadata as jsonSchema on read too
Agusti Fernandez Pardof29124866c58
diff --git a/lib/validations/event-type.ts b/lib/validations/event-type.tsindex 944ab837ae9..3357c53794d 100644--- a/lib/validations/event-type.ts+++ b/lib/validations/event-type.ts@@ -85,4 +85,12 @@ export const schemaEventTypeReadPublic = EventType.pick({currency: true,slotInterval: true,successRedirectUrl: true,-}).partial();+ description: true,+})+ .merge(+ z.object({+ recurringEvent: jsonSchema.nullable(),+ metadata: jsonSchema.nullable(),+ })+ )+ .strict();