mirror of
https://github.com/bitwarden/server
synced 2025-12-14 23:33:41 +00:00
subscriptions are always canceled at end of period
This commit is contained in:
@@ -174,7 +174,7 @@ namespace Bit.Core.Services
|
||||
if(!string.IsNullOrWhiteSpace(user.GatewaySubscriptionId))
|
||||
{
|
||||
var paymentService = user.GetPaymentService(_globalSettings);
|
||||
await paymentService.CancelSubscriptionAsync(user, false);
|
||||
await paymentService.CancelSubscriptionAsync(user, true);
|
||||
}
|
||||
|
||||
await _userRepository.DeleteAsync(user);
|
||||
|
||||
Reference in New Issue
Block a user