From 7152ac8856c35e0e1dde39d112c27ffd679f3ec4 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 29 Oct 2024 15:58:20 -0300 Subject: [PATCH] Update auth.ts --- apps/api/src/controllers/auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts index 93327e66..1b842e3e 100644 --- a/apps/api/src/controllers/auth.ts +++ b/apps/api/src/controllers/auth.ts @@ -354,6 +354,7 @@ function getPlanByPriceId(price_id: string): PlanType { return "standardnew"; case process.env.STRIPE_PRICE_ID_GROWTH: case process.env.STRIPE_PRICE_ID_GROWTH_YEARLY: + case price_id: return "growth"; case process.env.STRIPE_PRICE_ID_GROWTH_DOUBLE_MONTHLY: return "growthdouble";