mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
fix api key
This commit is contained in:
parent
0cf158a967
commit
00873fa78e
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ module.exports.maintower = async function (packages, type){
|
|||
try{
|
||||
let res = await superagent.post(MAINTOWER_BASE_URL + 'invoke')
|
||||
.set({
|
||||
"Authorization": process.env.api_prod,
|
||||
"Authorization": process.env.API_KEY,
|
||||
"x-labscore-client": "labscore/2.0"
|
||||
})
|
||||
.query({
|
||||
|
@ -29,7 +29,7 @@ module.exports.basecamp = async function (log){
|
|||
try{
|
||||
let res = await superagent.post(MAINTOWER_BASE_URL + 'basecamp')
|
||||
.set({
|
||||
"Authorization": process.env.api_prod,
|
||||
"Authorization": process.env.API_KEY,
|
||||
"x-labscore-client": "labscore/2.0"
|
||||
})
|
||||
.send({log})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue