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