Skip to content

Commit

Permalink
fix sync
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Apr 1, 2024
1 parent 440d051 commit 63d4268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/app/api/links/sync/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 63d4268

Please sign in to comment.