Merge pull request #77 from calcom/fix/remove-metadata-from-read

fix: metadata nullish
This commit is contained in:
Agusti Fernandez Pardo
2022-05-17 22:04:24 +02:00
committed by GitHub
+1 -1
View File
@@ -39,7 +39,7 @@ const schemaEventTypeBaseParams = z
description: z.string().optional().nullable(),
length: z.number().int(),
locations: jsonSchema.optional().nullable().or(z.null()),
metadata: jsonSchema.optional().nullable().or(z.null()),
metadata: jsonSchema.optional().nullish(),
recurringEvent: jsonSchema.optional().nullable().or(z.null()),
})
.strict();