support sanctions compliance
This commit is contained in:
parent
80e851fb59
commit
d904c8391e
5 changed files with 108 additions and 25 deletions
|
|
@ -33,8 +33,9 @@ function run () {
|
|||
}
|
||||
|
||||
function runOnce () {
|
||||
logger.info('Loading sanctions DB...')
|
||||
return ofac.load()
|
||||
.then(settingsLoader.loadLatest())
|
||||
.then(settingsLoader.loadLatest)
|
||||
.then(settings => {
|
||||
poller.start(settings)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue