fix: dont overdo validation on read event-type
parent
a3f23ef3c0
commit
93b2e96144
|
@ -86,11 +86,4 @@ export const schemaEventTypeReadPublic = EventType.pick({
|
|||
slotInterval: true,
|
||||
successRedirectUrl: true,
|
||||
description: true,
|
||||
})
|
||||
.merge(
|
||||
z.object({
|
||||
recurringEvent: jsonSchema.nullable(),
|
||||
metadata: jsonSchema.nullable(),
|
||||
})
|
||||
)
|
||||
.strict();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue