account-service http://jira.mfd.msk:8088/browse/CLS-265
This commit is contained in:
parent
66cf85a688
commit
b85247dfaf
1 changed files with 2 additions and 2 deletions
|
|
@ -166,8 +166,8 @@ public class AccountValidationConfig {
|
||||||
AccountError.RequiredFieldEmpty,
|
AccountError.RequiredFieldEmpty,
|
||||||
AccountError.AccountNotFound,
|
AccountError.AccountNotFound,
|
||||||
account -> {
|
account -> {
|
||||||
if (WorkflowStatus.Active.equalsByKey(account.getStatus())) return null;
|
if (AccountStatus.BLOCKED.equalsByKey(account.getStatus())) return AccountError.AccountNotActive;
|
||||||
return AccountError.AccountNotActive;
|
return null;
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue