Commit 43db5359 authored by David Hoksza's avatar David Hoksza
Browse files

promise resolve

parent 122e8657
Pipeline #7586 passed with stages
in 1 minute and 16 seconds
......@@ -381,9 +381,9 @@ function initDrugBioEntities(){
const promisses = drugNames.map(d =>
queryMinervaApi(`projects/${minervaProxy.project.data.getProjectId()}/drugs:search?query=${d}`).then(
function(x) {
return x;
return Promise.resolve(x);
}, function() {
return undefined;
return Promise.resolve(undefined);
}
)
);
......
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