fix: add locations any too

pull/9078/head
Agusti Fernandez Pardo 2022-05-18 19:00:27 +02:00
parent b95c064828
commit b7f9791439
1 changed files with 1 additions and 2 deletions

View File

@ -61,7 +61,6 @@ export const schemaEventTypeReadPublic = EventType.pick({
title: true, title: true,
slug: true, slug: true,
length: true, length: true,
locations: true,
hidden: true, hidden: true,
position: true, position: true,
userId: true, userId: true,
@ -86,4 +85,4 @@ export const schemaEventTypeReadPublic = EventType.pick({
slotInterval: true, slotInterval: true,
successRedirectUrl: true, successRedirectUrl: true,
description: true, description: true,
}).merge(z.object({ metadata: z.any() })); }).merge(z.object({ metadata: z.any(), locations: z.any() }));