fixes build error removing optional from name in create params validation

pull/9078/head
Agusti Fernandez Pardo 2022-04-27 20:24:30 +02:00
parent 1dce6817ae
commit 217336d13d
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ const schemaAttendeeCreateParams = z
.object({ .object({
bookingId: z.number().int(), bookingId: z.number().int(),
email: z.string().email(), email: z.string().email(),
name: z.string().optional(), name: z.string(),
timeZone: timeZone, timeZone: timeZone,
}) })
.strict(); .strict();