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.

username → key

Steven Teyf587d67a7c19
diff --git a/apps/web/lib/api/links.ts b/apps/web/lib/api/links.ts
index 6d4a90825f..867d84adfe 100644
--- a/apps/web/lib/api/links.ts
+++ b/apps/web/lib/api/links.ts
@@ -236,7 +236,8 @@ export async function keyChecks({
(!project || project.plan === "free")
) {
return {
- error: `This is a premium username. You can only use this username on a Pro plan and above. Upgrade to Pro to register this username.`,
+ error:
+ "This is a premium key. You can only use this key on a Pro plan and above. Upgrade to Pro to register this key.",
code: "forbidden",
};
}