|
|
@ -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 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|