🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Misc
Edward Cuibbbb5fd854a9
diff --git a/server/src/lib/subscriptionUtils.ts b/server/src/lib/subscriptionUtils.tsindex 407c37680..3629d3905 100644--- a/server/src/lib/subscriptionUtils.ts+++ b/server/src/lib/subscriptionUtils.ts@@ -16,23 +16,21 @@ export interface SubscriptionInfo {}export function getTierInfo(planName: string): TierInfo {- const normalizedPlanName = planName.trim().toLowerCase();-- if (normalizedPlanName === "free") {+ if (planName === "free") {return {tier: "Free",monthsAllowed: 6,};}- if (normalizedPlanName.startsWith("standard")) {+ if (planName.startsWith("standard")) {return {tier: "Standard",monthsAllowed: 24,};}- if (normalizedPlanName.startsWith("pro")) {+ if (planName.startsWith("pro")) {return {tier: "Pro",monthsAllowed: 60,