Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update auth.ts

Nicolas7152ac8856c3
diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts
index 93327e66e..1b842e3e2 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";