diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 61607ba..326ac9f 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -207,7 +207,7 @@ async function getpipelines(token,pipelinename) { return res.data }else{ console.log("noerror: " + res) - return res.status + return await res.status } } @@ -215,7 +215,7 @@ async function getpipelines(token,pipelinename) { console.error("error: "+err); var error = new Object(); error.action = '401' - return error + return await error } }