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 sync

Steven Tey63d42687de24
diff --git a/apps/web/app/api/links/sync/route.ts b/apps/web/app/api/links/sync/route.ts
index 50baabb292..e6cdebd727 100644
--- a/apps/web/app/api/links/sync/route.ts
+++ b/apps/web/app/api/links/sync/route.ts
@@ -35,7 +35,7 @@ export const POST = withAuth(async ({ req, session, workspace }) => {
).then((links) => links.filter((link) => link !== null));
if (unclaimedLinks.length === 0) {
- return new Response("No links created.", { status: 400 });
+ return new Response("No links created.", { status: 200 });
}
if (workspace.linksUsage + unclaimedLinks.length > workspace.linksLimit) {