periodically update sanctions db
This commit is contained in:
parent
43ac3f5923
commit
d3b7e7c2ad
3 changed files with 12 additions and 14 deletions
|
|
@ -14,8 +14,6 @@ let structs = null
|
|||
const readdir = util.promisify(fs.readdir)
|
||||
|
||||
function load () {
|
||||
// NOTE: Not sure how you push code updates to existing clients. This problem
|
||||
// might pop up if new code is pushed, without re-doing setup.
|
||||
if (!options.ofacDataDir) {
|
||||
const message = 'The ofacDataDir option has not been set in lamassu.json'
|
||||
return Promise.reject(new Error(message))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue