Skip to content

Commit b234dae

Browse files
committed
[NOTASK] add bankDataUserMismatch auto fail
1 parent b2b1d56 commit b234dae

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/subdomains/core/aml/enums/aml-error.enum.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,11 @@ export const AmlErrorResult: {
200200
amlCheck: CheckStatus.GSHEET,
201201
amlReason: null,
202202
},
203-
[AmlError.BANK_DATA_USER_MISMATCH]: null,
203+
[AmlError.BANK_DATA_USER_MISMATCH]: {
204+
type: AmlErrorType.CRUCIAL,
205+
amlCheck: CheckStatus.FAIL,
206+
amlReason: AmlReason.USER_DATA_MISMATCH,
207+
},
204208
[AmlError.VIRTUAL_IBAN_USER_MISMATCH]: {
205209
type: AmlErrorType.CRUCIAL,
206210
amlCheck: CheckStatus.GSHEET,

0 commit comments

Comments
 (0)