@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user