Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update cache.ts

Kiran Ke0367125c412
diff --git a/apps/web/lib/webhook/cache.ts b/apps/web/lib/webhook/cache.ts
index d09b52c010..8a747de979 100644
--- a/apps/web/lib/webhook/cache.ts
+++ b/apps/web/lib/webhook/cache.ts
@@ -6,6 +6,7 @@ const WEBHOOK_CACHE_KEY_PREFIX = "webhook";
class WebhookCache {
async set(webhook: WebhookCacheProps) {
+ // We only cache the link level webhooks for now
if (!isLinkLevelWebhook(webhook)) {
return;
}