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 Kaf2598d6f1a2
diff --git a/apps/web/app/api/integrations/uninstall/route.ts b/apps/web/app/api/integrations/uninstall/route.ts
index 78479548ed..97d01ae1eb 100644
--- a/apps/web/app/api/integrations/uninstall/route.ts
+++ b/apps/web/app/api/integrations/uninstall/route.ts
@@ -12,6 +12,7 @@ export const DELETE = withWorkspace(
const installation = await prisma.installedIntegration.findUnique({
where: {
id: installationId,
+ projectId: workspace.id,
},
});