The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update cache.ts
Kiran Kb52ca84d4181
diff --git a/apps/web/lib/webhook/cache.ts b/apps/web/lib/webhook/cache.tsindex 35cac1230e..8446c2b35b 100644--- a/apps/web/lib/webhook/cache.ts+++ b/apps/web/lib/webhook/cache.ts@@ -40,20 +40,6 @@ class WebhookCache {return await redis.del(this._createKey(webhookId));}- // async deleteMany(webhookIds: string[]) {- // if (webhookIds.length === 0) {- // return;- // }-- // const pipeline = redis.pipeline();-- // webhookIds.forEach((webhookId) => {- // pipeline.del(this._createKey(webhookId));- // });-- // return await pipeline.exec();- // }-_format(webhook: WebhookCacheProps) {return {id: webhook.id,