From b7f9791439bad77c31fe9855127f8fe3adde6d00 Mon Sep 17 00:00:00 2001 From: Agusti Fernandez Pardo Date: Wed, 18 May 2022 19:00:27 +0200 Subject: [PATCH] fix: add locations any too --- lib/validations/event-type.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/validations/event-type.ts b/lib/validations/event-type.ts index 92f7c42f56..f436757ef2 100644 --- a/lib/validations/event-type.ts +++ b/lib/validations/event-type.ts @@ -61,7 +61,6 @@ export const schemaEventTypeReadPublic = EventType.pick({ title: true, slug: true, length: true, - locations: true, hidden: true, position: true, userId: true, @@ -86,4 +85,4 @@ export const schemaEventTypeReadPublic = EventType.pick({ slotInterval: true, successRedirectUrl: true, description: true, -}).merge(z.object({ metadata: z.any() })); +}).merge(z.object({ metadata: z.any(), locations: z.any() }));