Skip to content

Commit e8a37d4

Browse files
minor fix
1 parent 266164c commit e8a37d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/proxy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class ProxyService {
6565
}
6666

6767
async coingecko(targetUrl, method, headers, body) {
68-
const headers = {
68+
const _headers = {
6969
...headers,
7070
};
7171
if (process.env.COINGECKO_KEY_TYPE === "pro") {
@@ -76,7 +76,7 @@ class ProxyService {
7676
const response = await axios({
7777
method,
7878
url: targetUrl,
79-
headers: headers,
79+
headers: _headers,
8080
data: body,
8181
});
8282
return {

0 commit comments

Comments
 (0)