api_key
This commit is contained in:
parent
5a25772daa
commit
7ae63e60db
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ class CallAPI {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `${token}`,
|
Authorization: `${token}`,
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
"api_key": process.env.API_KEY
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
return response.data.result;
|
return response.data.result;
|
||||||
|
|
@ -39,6 +40,7 @@ class CallAPI {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `${token}`,
|
Authorization: `${token}`,
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
"api_key": process.env.API_KEY
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
return response.data.result;
|
return response.data.result;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue