fix: dont overdo validation on read event-type
This commit is contained in:
1 parent
a3f23ef3c0
commit
93b2e96144
1 file changed
+1
-8
@@ -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();
|
||||
});
|
||||
Reference in new issue
Block a user