mirror of
https://github.com/bitwarden/server.git
synced 2025-05-24 04:51:03 -05:00
Retain the canceled subscriptionId
Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
This commit is contained in:
parent
e93ea3753b
commit
472d625385
@ -490,11 +490,6 @@ public class OrganizationsController : Controller
|
|||||||
organization.GatewayCustomerId = model.GatewayCustomerId;
|
organization.GatewayCustomerId = model.GatewayCustomerId;
|
||||||
organization.GatewaySubscriptionId = model.GatewaySubscriptionId;
|
organization.GatewaySubscriptionId = model.GatewaySubscriptionId;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (model.PlanType == PlanType.Free && organization.GatewaySubscriptionId is not null)
|
|
||||||
{
|
|
||||||
organization.GatewaySubscriptionId = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task HandlePotentialProviderSeatScalingAsync(
|
private async Task HandlePotentialProviderSeatScalingAsync(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user