Allow upgrade if current plan does not match the campaign plan

This commit is contained in:
Damodar Lohani authored and GitHub committed 2024-11-10 13:15:30 +05:45
1 parent 7f82ebdc23
commit d24caee823
1 file changed
+1 -1
@@ -108,7 +108,7 @@
);
}
// Upgrade existing org
else if (selectedOrg?.billingPlan === BillingPlan.FREE) {
else if (selectedOrg?.billingPlan === billingPlan) {
org = await sdk.forConsole.billing.updatePlan(
selectedOrg.$id,
billingPlan,