The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update route.ts
Kiran K6d82c69cbfd5
diff --git a/apps/web/app/api/webhooks/[webhookId]/route.ts b/apps/web/app/api/webhooks/[webhookId]/route.tsindex 986dc8bcf9..128dd7362d 100644--- a/apps/web/app/api/webhooks/[webhookId]/route.ts+++ b/apps/web/app/api/webhooks/[webhookId]/route.ts@@ -149,8 +149,6 @@ export const PATCH = withWorkspace(})),},}),- disabledAt: null,- consecutiveFailures: 0,},select: {id: true,@@ -170,10 +168,6 @@ export const PATCH = withWorkspace(waitUntil((async () => {- toggleWebhooksForWorkspace({- workspaceId: workspace.id,- });-// If the webhook is being changed from link level to workspace level, delete the cacheif (isLinkLevelWebhook(existingWebhook) &&