From d8acc12e056c2bcd357a5c90017fdb72de8133e4 Mon Sep 17 00:00:00 2001 From: Matt Krick Date: Mon, 23 Sep 2024 17:27:38 -0700 Subject: [PATCH] fix isPaid flag when moving teams to 0-team org Signed-off-by: Matt Krick --- packages/server/graphql/mutations/moveTeamToOrg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/graphql/mutations/moveTeamToOrg.ts b/packages/server/graphql/mutations/moveTeamToOrg.ts index 84e432021b0..dbae4a63713 100644 --- a/packages/server/graphql/mutations/moveTeamToOrg.ts +++ b/packages/server/graphql/mutations/moveTeamToOrg.ts @@ -75,7 +75,7 @@ const moveToOrg = async ( // RESOLUTION const updates = { orgId, - isPaid: !!isPaidResult?.isPaid, + isPaid: isPaidResult?.isPaid ?? true, tier: org.tier, trialStartDate: org.trialStartDate, updatedAt: new Date()