From 95a1e32454fd728a826b36553af278f05c9d5f76 Mon Sep 17 00:00:00 2001 From: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com> Date: Thu, 19 May 2022 16:40:27 +0530 Subject: [PATCH] Fixes subscriber URL z type --- 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 a543fcfec1..dc8f8bb41f 100644 --- a/lib/validations/webhook.ts +++ b/lib/validations/webhook.ts @@ -25,7 +25,7 @@ const schemaWebhookEditParams = z .object({ payloadTemplate: z.string().optional(), eventTriggers: z.string().optional(), - subscriberUrl: z.date().optional(), + subscriberUrl: z.string().optional(), }) .strict();