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.

Update key-checks.ts

Steven Teye57b907c3872
diff --git a/apps/web/lib/api/links/utils/key-checks.ts b/apps/web/lib/api/links/utils/key-checks.ts
index d4c1c2db4a..b0bd345181 100644
--- a/apps/web/lib/api/links/utils/key-checks.ts
+++ b/apps/web/lib/api/links/utils/key-checks.ts
@@ -56,7 +56,6 @@ export async function keyChecks({
};
}
}
-
if (key.length <= 3 && (!workspace || workspace.plan === "free")) {
return {
error: `You can only use keys that are 3 characters or less on a Pro plan and above. Upgrade to Pro to register a ${key.length}-character key.`,