cleaning up, fixing bugs

This commit is contained in:
derpystuff 2022-12-06 09:07:26 +01:00
parent 74a562f19d
commit 595cd23077
7 changed files with 159 additions and 354 deletions

View file

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