fixes build error removing optional from name in create params validation
parent
1dce6817ae
commit
217336d13d
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue