From 3fc22a8eff2cd9327ebd5e2c19af58925be5df16 Mon Sep 17 00:00:00 2001 From: Agusti Fernandez Pardo Date: Wed, 1 Jun 2022 17:08:01 +0200 Subject: [PATCH] fix: remove comments --- lib/validations/webhook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/validations/webhook.ts b/lib/validations/webhook.ts index c157a6e367..f5de69c45a 100644 --- a/lib/validations/webhook.ts +++ b/lib/validations/webhook.ts @@ -26,7 +26,6 @@ const schemaWebhookBaseBodyParams = Webhook.pick({ export const schemaWebhookCreateParams = z .object({ - // id: z.string(), subscriberUrl: z.string().url(), eventTriggers: z.enum(WEBHOOK_TRIGGER_EVENTS).array(), active: z.boolean(), @@ -52,6 +51,7 @@ export const schemaWebhookReadPublic = Webhook.pick({ eventTypeId: true, payloadTemplate: true, eventTriggers: true, + /** @todo: find out how to properly add back and validate those. */ // eventType: true, // app: true, appId: true,