fix: add locations any too

This commit is contained in:
Agusti Fernandez Pardo committed 2022-05-18 19:00:27 +02:00
1 parent b95c064828
commit b7f9791439
1 file changed
+1 -2
+1 -2
View File
@@ -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() }));