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.

Pass empty tagIds to bulkCreateLinks in api/links/sync

Tim Wilsoncc546a19ce4a
diff --git a/apps/web/app/api/links/sync/route.ts b/apps/web/app/api/links/sync/route.ts
index 6e9956b19d..48d073b754 100644
--- a/apps/web/app/api/links/sync/route.ts
+++ b/apps/web/app/api/links/sync/route.ts
@@ -65,6 +65,7 @@ export const POST = withAuth(async ({ req, session, project }) => {
userId: session.user.id,
projectId: project.id,
publicStats: false,
+ tagIds: [],
})),
skipPrismaCreate: true,
}),