From d23fa4be4ed673c6d4256d7ee3dd8691e9e2a2aa Mon Sep 17 00:00:00 2001 From: Agusti Fernandez Pardo Date: Fri, 20 May 2022 01:47:17 +0200 Subject: [PATCH] fix: add comment to fix later any --- lib/validations/webhook.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/validations/webhook.ts b/lib/validations/webhook.ts index 39b1a999a0..e3ea709ec9 100644 --- a/lib/validations/webhook.ts +++ b/lib/validations/webhook.ts @@ -24,6 +24,7 @@ export const schemaWebhookCreateBodyParams = schemaWebhookBaseBodyParams.merge(s const schemaWebhookEditParams = z .object({ payloadTemplate: z.string().optional(), + /** @todo: don't use any here and validate eventTriggers proper */ eventTriggers: z.any(), subscriberUrl: z.string().optional(), })