We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7df06a8 commit 2814f38Copy full SHA for 2814f38
components/server/ee/src/billing/billing-mode.ts
@@ -108,7 +108,9 @@ export class BillingModesImpl implements BillingModes {
108
}
109
const cbSubscriptions = await this.subscriptionSvc.getActivePaidSubscription(user.id, now);
110
const cbTeamSubscriptions = cbSubscriptions.filter((s) => isTeamSubscription(s));
111
- const cbPersonalSubscriptions = cbSubscriptions.filter((s) => !isTeamSubscription(s));
+ const cbPersonalSubscriptions = cbSubscriptions.filter(
112
+ (s) => !isTeamSubscription(s) && s.planId !== Plans.FREE_OPEN_SOURCE.chargebeeId,
113
+ );
114
let canUpgradeToUBB = false;
115
if (cbPersonalSubscriptions.length > 0) {
116
if (cbPersonalSubscriptions.every((s) => Subscription.isCancelled(s, now.toISOString()))) {
0 commit comments