mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-21 04:17:03 -04:00
rename api key variables
This commit is contained in:
parent
3380e1949d
commit
9967194bc8
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ async function request(path, type, headers, args, host) {
|
|||
if(host) url = host + path
|
||||
|
||||
// apply default headers
|
||||
if(!headers["Authorization"]) headers["Authorization"] = process.env.api_prod
|
||||
if(!headers["Authorization"]) headers["Authorization"] = process.env.API_KEY
|
||||
if(!headers["user-agent"]) headers["user-agent"] = "labscore/2.0"
|
||||
if(!headers["x-labscore-client"]) headers["x-labscore-client"] = "labscore/2.0"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue