Skip to content

Commit

Permalink
Add lifetime variant id
Browse files Browse the repository at this point in the history
  • Loading branch information
elie222 committed Jan 1, 2025
1 parent 1350128 commit 1ac6d36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/app/(app)/premium/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const variantIdToTier: Record<number, PremiumTier> = {
[env.NEXT_PUBLIC_BUSINESS_MONTHLY_VARIANT_ID]: PremiumTier.BUSINESS_MONTHLY,
[env.NEXT_PUBLIC_BUSINESS_ANNUALLY_VARIANT_ID]: PremiumTier.BUSINESS_ANNUALLY,
[env.NEXT_PUBLIC_COPILOT_MONTHLY_VARIANT_ID]: PremiumTier.COPILOT_MONTHLY,
[env.NEXT_PUBLIC_LIFETIME_VARIANT_ID]: PremiumTier.LIFETIME,
};

const tierToVariantId: Record<PremiumTier, number> = {
Expand Down

0 comments on commit 1ac6d36

Please sign in to comment.