Skip to content

The Open Source DocuSign Alternative.

fix: profile claim name length (#1144)

Timur Ercandc11676d28c4
diff --git a/packages/trpc/server/profile-router/router.ts b/packages/trpc/server/profile-router/router.ts
index eb5f54274..bc5fe757b 100644
--- a/packages/trpc/server/profile-router/router.ts
+++ b/packages/trpc/server/profile-router/router.ts
@@ -90,7 +90,7 @@ export const profileRouter = router({
try {
const { url } = input;
- if (IS_BILLING_ENABLED() && url.length <= 6) {
+ if (IS_BILLING_ENABLED() && url.length < 6) {
const subscriptions = await getSubscriptionsByUserId({
userId: ctx.user.id,
}).then((subscriptions) =>