From e1d2f6c47e4d8d037be7f181a41563af8c867d75 Mon Sep 17 00:00:00 2001 From: Aashish Dhakal <85501584+dhakalaashish@users.noreply.github.com> Date: Tue, 18 Jul 2023 18:26:57 +0545 Subject: [PATCH] RO Users should have pro plan --- apps/server/src/utils/routers/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/utils/routers/user.ts b/apps/server/src/utils/routers/user.ts index 20cf01443..48d538d0a 100644 --- a/apps/server/src/utils/routers/user.ts +++ b/apps/server/src/utils/routers/user.ts @@ -24,7 +24,7 @@ export async function createUserInPrismaTransaction({ id, prisma, sub, name, ema let userPlan: string = "basic" //PlanetRO user plan must be "pro" by default - if(isPlanetRO){ + if(isPlanetRO === true){ userPlan = "pro" }