From 694681fccc791d45a263f93973abde3fcb248a27 Mon Sep 17 00:00:00 2001 From: vladp Date: Wed, 25 Feb 2026 13:06:27 +0700 Subject: [PATCH] dev use authtoken --- .../ru/soune/nocopy/service/payout/PayoutMethodService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ru/soune/nocopy/service/payout/PayoutMethodService.java b/src/main/java/ru/soune/nocopy/service/payout/PayoutMethodService.java index 6e2b0dd..60dfd25 100644 --- a/src/main/java/ru/soune/nocopy/service/payout/PayoutMethodService.java +++ b/src/main/java/ru/soune/nocopy/service/payout/PayoutMethodService.java @@ -91,7 +91,7 @@ public class PayoutMethodService { if (!byUserId.isEmpty()) { for (PayoutMethod payoutMethod : byUserId) { - if (payoutMethod.getMethodType().equals(PayoutType.CARD.getDisplayName())) { + if (payoutMethod.getMethodType().equals(PayoutType.CARD.getDisplayName().toUpperCase())) { payoutMethodRepository.delete(payoutMethod); } }