fix: dont overdo validation on read event-type

This commit is contained in:
Agusti Fernandez Pardo committed 2022-05-18 18:51:19 +02:00
1 parent a3f23ef3c0
commit 93b2e96144
1 file changed
+1 -8
+1 -8
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();
});