Commit 9adafe6c authored by MoSelim's avatar MoSelim
Browse files
parent 1a347216
Pipeline #12808 passed with stages
in 5 minutes and 29 seconds
......@@ -25,6 +25,7 @@ let c = new Client()
logger.info('Sending grant data')
await createGrantLinks(successManuscripts)
}
close(c)
logger.info(`from ncbi check was finished in ${Date.now() - beforeUpdate} ms`)
})()
......@@ -73,7 +74,6 @@ function fromNcbi() {
if (!updatedManuscript) {
counter += 1
if (counter === array.length) {
close(c)
resolve(updatedManuscripts)
}
} else {
......@@ -87,7 +87,6 @@ function fromNcbi() {
}
counter += 1
if (counter === array.length) {
close(c)
resolve(updatedManuscripts)
}
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment