rename api key variables

This commit is contained in:
derpystuff 2023-08-07 00:04:16 +02:00
parent 3380e1949d
commit 9967194bc8
2 changed files with 2 additions and 2 deletions

View file

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