Fix zod parsing error if undefined

fix/500-during-invite
Hariom Balhara 2023-09-07 14:32:10 +05:30
parent 50342e33ed
commit cc37e3417d
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ export const teamMetadataSchema = z
orgAutoAcceptEmail: z.string().nullable(),
})
.partial()
.nullable();
.nullish();
export const bookingMetadataSchema = z
.object({