fix: compliance fixes
This commit is contained in:
parent
c45241471e
commit
118852a433
5 changed files with 10 additions and 8 deletions
|
|
@ -45,9 +45,9 @@ function loadSanctions (settings) {
|
|||
return Promise.resolve()
|
||||
.then(() => {
|
||||
const triggers = configManager.getTriggers(settings.config)
|
||||
const compatTriggers = complianceTriggers.getBackwardsCompatibleTriggers(triggers)
|
||||
const hasSanctions = complianceTriggers.hasSanctions(triggers)
|
||||
|
||||
if (!compatTriggers.sanctions) return
|
||||
if (!hasSanctions) return
|
||||
|
||||
logger.info('Loading sanctions DB...')
|
||||
return ofacUpdate.update()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue