The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
tweak link limit error messages
Kiran Kf78a1382a6dc
diff --git a/apps/web/app/api/domains/[domain]/transfer/route.ts b/apps/web/app/api/domains/[domain]/transfer/route.tsindex 738c04b462..c4073a29d3 100644--- a/apps/web/app/api/domains/[domain]/transfer/route.ts+++ b/apps/web/app/api/domains/[domain]/transfer/route.ts@@ -79,7 +79,7 @@ export const POST = withAuth(if (newWorkspace.linksUsage >= newWorkspace.linksLimit) {throw new DubApiError({code: "exceeded_limit",- message: `Workspace ${newWorkspace.name} has reached its link limit. You need to upgrade it to accommodate the links.`,+ message: `Workspace ${newWorkspace.name} has reached its link limit.`,});}@@ -90,7 +90,7 @@ export const POST = withAuth(if (newWorkspace.linksUsage + linksCount > newWorkspace.linksLimit) {throw new DubApiError({code: "exceeded_limit",- message: `Workspace ${newWorkspace.name} doesn't have enough space to accommodate the links from the current workspace. You need to upgrade it to accommodate the links.`,+ message: `Workspace ${newWorkspace.name} doesn't have enough space to accommodate the links of the domain ${domain}.`,});}