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