1
0
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:
Cy Okeke 2025-04-29 15:28:52 +01:00
parent e93ea3753b
commit 472d625385
No known key found for this signature in database
GPG Key ID: 88B341B55C84B45C

View File

@ -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(