From 1e41bedc86a2c138586f0e9823a18753e1f0c86e Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Sat, 21 Feb 2026 18:28:56 +0100 Subject: [PATCH] fix: update maximum data retention for business plan from 60 to 36 months and adjust retention options accordingly --- lib/plans.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plans.ts b/lib/plans.ts index 1d9961b..5456837 100644 --- a/lib/plans.ts +++ b/lib/plans.ts @@ -44,7 +44,7 @@ export function getLimitForTierIndex(index: number): number { /** Maximum data retention (months) allowed per plan. */ export function getMaxRetentionMonthsForPlan(planId: string | null | undefined): number { switch (planId) { - case 'business': return 60 + case 'business': return 36 case 'team': return 24 case 'solo': return 12 default: return 6 @@ -60,7 +60,7 @@ export function getRetentionOptionsForPlan(planId: string | null | undefined): { ] const solo = [...base, { label: '1 year', value: 12 }] const team = [...solo, { label: '2 years', value: 24 }] - const business = [...team, { label: '3 years', value: 36 }, { label: '5 years', value: 60 }] + const business = [...team, { label: '3 years', value: 36 }] switch (planId) { case 'business': return business