1
0
mirror of https://github.com/bitwarden/server synced 2025-12-19 01:33:20 +00:00

[PM-25088] Fix collision with PM-24964 (#6312)

`ISetupIntentCache.Remove` (used in #6262) was renamed to
`RemoveSetupIntentForSubscriber` with 3dd5acc in #6263.
This commit is contained in:
Derek Nance
2025-09-10 16:34:10 -05:00
committed by GitHub
parent e57569ad57
commit 04cb7820a6

View File

@@ -204,7 +204,7 @@ public class CreatePremiumCloudHostedSubscriptionCommand(
{ {
case TokenizablePaymentMethodType.BankAccount: case TokenizablePaymentMethodType.BankAccount:
{ {
await setupIntentCache.Remove(user.Id); await setupIntentCache.RemoveSetupIntentForSubscriber(user.Id);
break; break;
} }
case TokenizablePaymentMethodType.PayPal when !string.IsNullOrEmpty(braintreeCustomerId): case TokenizablePaymentMethodType.PayPal when !string.IsNullOrEmpty(braintreeCustomerId):