mirror of
https://github.com/bitwarden/server
synced 2025-12-15 07:43:54 +00:00
subscriptions are always canceled at end of period
This commit is contained in:
@@ -765,7 +765,7 @@ namespace Bit.Core.Services
|
||||
{
|
||||
if(!string.IsNullOrWhiteSpace(organization.GatewaySubscriptionId))
|
||||
{
|
||||
await _stripePaymentService.CancelSubscriptionAsync(organization, false);
|
||||
await _stripePaymentService.CancelSubscriptionAsync(organization, true);
|
||||
}
|
||||
|
||||
await _organizationRepository.DeleteAsync(organization);
|
||||
|
||||
Reference in New Issue
Block a user