This commit is contained in:
derpystuff 2023-07-16 22:50:57 +02:00
parent ed8fa26f2c
commit 416b89c6ce
2 changed files with 25 additions and 0 deletions

View file

@ -23,4 +23,19 @@ module.exports.maintower = async function (packages, type){
console.log(e)
throw "Maintower request failed."
}
}
module.exports.basecamp = async function (log){
try{
let res = await superagent.post(MAINTOWER_BASE_URL + 'basecamp')
.set({
"Authorization": process.env.api_prod,
"x-labscore-client": "labscore/2.0"
})
.send({log})
return;
}catch(e){
console.log(e)
throw "Basecamp request failed."
}
}