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