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(), })