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.

fix index

Steven Tey8a6229b0fcbb
diff --git a/apps/web/app/api/partners/links/upsert/route.ts b/apps/web/app/api/partners/links/upsert/route.ts
index 4b6313baeb..0ff7eb486f 100644
--- a/apps/web/app/api/partners/links/upsert/route.ts
+++ b/apps/web/app/api/partners/links/upsert/route.ts
@@ -66,9 +66,9 @@ export const PUT = withWorkspace(
const link = await prisma.link.findFirst({
where: {
- projectId: workspace.id,
programId,
partnerId,
+ projectId: workspace.id,
url,
},
include: includeTags,