From 217336d13da3c2372b4707bc172b208cad3a7e40 Mon Sep 17 00:00:00 2001 From: Agusti Fernandez Pardo Date: Wed, 27 Apr 2022 20:24:30 +0200 Subject: [PATCH] fixes build error removing optional from name in create params validation --- lib/validations/attendee.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/validations/attendee.ts b/lib/validations/attendee.ts index 70444437aa..cf73bdb4d0 100644 --- a/lib/validations/attendee.ts +++ b/lib/validations/attendee.ts @@ -15,7 +15,7 @@ const schemaAttendeeCreateParams = z .object({ bookingId: z.number().int(), email: z.string().email(), - name: z.string().optional(), + name: z.string(), timeZone: timeZone, }) .strict();