From bc844f29bacb09d817eed14d53f49773ec2e0850 Mon Sep 17 00:00:00 2001 From: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com> Date: Thu, 19 May 2022 16:38:44 +0530 Subject: [PATCH] Updates Webhook edit params --- lib/validations/webhook.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/validations/webhook.ts b/lib/validations/webhook.ts index fe9fe1533a..a543fcfec1 100644 --- a/lib/validations/webhook.ts +++ b/lib/validations/webhook.ts @@ -23,10 +23,9 @@ export const schemaWebhookCreateBodyParams = schemaWebhookBaseBodyParams.merge(s const schemaWebhookEditParams = z .object({ - uid: z.string().optional(), - title: z.string().optional(), - startTime: z.date().optional(), - endTime: z.date().optional(), + payloadTemplate: z.string().optional(), + eventTriggers: z.string().optional(), + subscriberUrl: z.date().optional(), }) .strict();