Skip to content

Scheduling infrastructure for absolutely everyone.

fix: add partial()

Agusti Fernandez Pardof04f5d8ca89f
diff --git a/lib/validations/event-type.ts b/lib/validations/event-type.ts
index 3665681dff2..2f22c333bbd 100644
--- a/lib/validations/event-type.ts
+++ b/lib/validations/event-type.ts
@@ -86,4 +86,6 @@ export const schemaEventTypeReadPublic = EventType.pick({
currency: true,
slotInterval: true,
successRedirectUrl: true,
-}).merge(schemaEventTypeBaseParams);
+})
+ .merge(schemaEventTypeBaseParams)
+ .partial();