fix event type valdiations

This commit is contained in:
Agusti Fernandez Pardo committed 2022-05-28 01:50:28 +02:00
1 parent 2cd548bdb2
commit eea7c11488
2 files changed
+10 -9

No files matched your search

+1 -2
View File
@@ -103,8 +103,7 @@ export const schemaEventTypeReadPublic = EventType.pick({
tzid: timeZone.optional(),
})
.optional()
.nullable()
.or(z.null()),
.nullable(),
locations: z
.array(
z.object({