fix: dont overdo validation on read event-type

pull/9078/head
Agusti Fernandez Pardo 2022-05-18 18:51:19 +02:00
parent a3f23ef3c0
commit 93b2e96144
1 changed files with 1 additions and 8 deletions

View File

@ -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();
});