Merge pull request #73 from calcom/fix/metadata-nullish

Fix: metadata nullish
pull/9078/head
Agusti Fernandez Pardo 2022-05-17 21:46:53 +02:00 committed by GitHub
commit c52045486d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ const schemaEventTypeBaseParams = z
description: z.string().optional().nullable(),
length: z.number().int(),
locations: jsonSchema,
metadata: jsonSchema,
metadata: jsonSchema.optional().nullable().or(z.null()),
recurringEvent: jsonSchema,
})
.strict();