From 3366627835bc30bd575f625ced5743878fd73b37 Mon Sep 17 00:00:00 2001 From: Agusti Fernandez Pardo Date: Tue, 17 May 2022 14:40:19 +0200 Subject: [PATCH] fix: event-type params --- lib/validations/event-type.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/validations/event-type.ts b/lib/validations/event-type.ts index 40411a7222..aa66cc63dd 100644 --- a/lib/validations/event-type.ts +++ b/lib/validations/event-type.ts @@ -21,8 +21,9 @@ export const schemaEventTypeCreateBodyParams = const schemaEventTypeEditParams = z .object({ - token: z.string().optional(), - url: z.string().optional(), + title: z.string().optional(), + slug: z.string().optional(), + length: z.number().optional(), }) .strict();