mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-13 16:43:05 -04:00
cleaning up, fixing bugs
This commit is contained in:
parent
74a562f19d
commit
595cd23077
7 changed files with 159 additions and 354 deletions
|
@ -8,6 +8,10 @@ if(process.env.MAINTOWER_OVERRIDE) maintowerClient = process.env.MAINTOWER_OVERR
|
|||
module.exports.maintower = async function (packages, type){
|
||||
try{
|
||||
let res = await superagent.post(MAINTOWER_BASE_URL + 'invoke')
|
||||
.set({
|
||||
"Authorization": process.env.api_prod,
|
||||
"x-labscore-client": "labscore/2.0"
|
||||
})
|
||||
.query({
|
||||
client: maintowerClient,
|
||||
type: type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue