1
0
mirror of https://github.com/bitwarden/server synced 2025-12-10 13:23:27 +00:00

Run dotnet format

This commit is contained in:
Alex Morask
2025-12-05 10:54:55 -06:00
parent bd17067838
commit a666ceb62f

View File

@@ -462,16 +462,16 @@ public class StripeEventUtilityService : IStripeEventUtilityService
switch (cashBalanceTransaction) switch (cashBalanceTransaction)
{ {
case { Type: "funded", Funded: not null }: case { Type: "funded", Funded: not null }:
{ {
bankTransferType = cashBalanceTransaction.Funded.BankTransfer.Type; bankTransferType = cashBalanceTransaction.Funded.BankTransfer.Type;
break; break;
} }
case { Type: "applied_to_payment", AppliedToPayment: not null } case { Type: "applied_to_payment", AppliedToPayment: not null }
when cashBalanceTransaction.AppliedToPayment.PaymentIntentId == charge.PaymentIntentId: when cashBalanceTransaction.AppliedToPayment.PaymentIntentId == charge.PaymentIntentId:
{ {
matchingPaymentIntentFound = true; matchingPaymentIntentFound = true;
break; break;
} }
} }
if (matchingPaymentIntentFound && !string.IsNullOrEmpty(bankTransferType)) if (matchingPaymentIntentFound && !string.IsNullOrEmpty(bankTransferType))