remove debug
This commit is contained in:
parent
d904c8391e
commit
43ac3f5923
3 changed files with 0 additions and 10 deletions
|
|
@ -33,7 +33,6 @@ function matchOfac (customer) {
|
|||
}
|
||||
|
||||
const results = ofac.match(nameParts, birthDate, options)
|
||||
console.log('DEBUG200: %j', results)
|
||||
|
||||
return !_.isEmpty(results)
|
||||
}
|
||||
|
|
@ -42,7 +41,6 @@ function validateOfac (customer) {
|
|||
if (customer.sanctionsOverride === 'blocked') return false
|
||||
if (customer.sanctionsOverride === 'verified') return true
|
||||
|
||||
console.log('DEBUG400')
|
||||
return !matchOfac(customer)
|
||||
}
|
||||
|
||||
|
|
@ -51,8 +49,6 @@ function validationPatch (config, customer) {
|
|||
.then(() => {
|
||||
const ofacValidation = validateOfac(customer)
|
||||
|
||||
console.log('DEBUG401: %s, %j', ofacValidation, customer)
|
||||
|
||||
if (_.isNil(customer.sanctions) || customer.sanctions !== ofacValidation) {
|
||||
return {sanctions: ofacValidation}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue