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 route.ts

Kiran K7bf99de74e10
diff --git a/apps/web/app/api/webhooks/[webhookId]/route.ts b/apps/web/app/api/webhooks/[webhookId]/route.ts
index a847ae09e4..093f1a487c 100644
--- a/apps/web/app/api/webhooks/[webhookId]/route.ts
+++ b/apps/web/app/api/webhooks/[webhookId]/route.ts
@@ -104,7 +104,6 @@ export const PATCH = withWorkspace(
},
});
- // Cache the existing webhook before updating it
const existingWebhook = await prisma.webhook.findUniqueOrThrow({
where: {
id: webhookId,