Browse Source

async

master
zeus 4 years ago
parent
commit
9f94f9bf0d
  1. 4
      swarmlab-app/src/run/app.js

4
swarmlab-app/src/run/app.js

@ -207,7 +207,7 @@ async function getpipelines(token,pipelinename) {
return res.data return res.data
}else{ }else{
console.log("noerror: " + res) console.log("noerror: " + res)
return res.status return await res.status
} }
} }
@ -215,7 +215,7 @@ async function getpipelines(token,pipelinename) {
console.error("error: "+err); console.error("error: "+err);
var error = new Object(); var error = new Object();
error.action = '401' error.action = '401'
return error return await error
} }
} }

Loading…
Cancel
Save