refactor: rename to STRIPE_PRO_MONTHLY_PLAN_ID

This commit is contained in:
shadcn 2022-11-21 13:08:37 +04:00
parent eb5a25820c
commit 668769d33e
2 changed files with 2 additions and 2 deletions

View file

@ -29,4 +29,4 @@ SMTP_FROM=Taxonomy <taxonomy@example.com>
# -----------------------------------------------------------------------------
STRIPE_API_KEY=
STRIPE_WEBHOOK_SECRET=
SUBSCRIPTION_PLAN_PRICE_ID_PRO=
STRIPE_PRO_MONTHLY_PLAN_ID=

View file

@ -10,5 +10,5 @@ export const freePlan: SubscriptionPlan = {
export const proPlan: SubscriptionPlan = {
name: "PRO",
description: "The PRO plan has unlimited posts.",
stripePriceId: process.env.SUBSCRIPTION_PLAN_PRICE_ID_PRO,
stripePriceId: process.env.STRIPE_PRO_MONTHLY_PLAN_ID,
}