Skip to content

Commit

Permalink
fixing lint errors;
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz Gustavo Abou Hatem De Liz committed Jan 27, 2024
1 parent b0f9bf8 commit 5d8aed3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions balancer-js/src/lib/utils/coingecko-api.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export function getCoingeckoApiBaseUrl(isDemoApi = true) {
export function getCoingeckoApiBaseUrl(isDemoApi = true): string {
if (isDemoApi) {
return 'https://api.coingecko.com/api/v3/';
}
return 'https://pro-api.coingecko.com/api/v3/';
}

export function getCoingeckoApiKeyHeaderName(isDemoApi = true) {
export function getCoingeckoApiKeyHeaderName(isDemoApi = true): string {
if (isDemoApi) {
return 'x-cg-demo-api-key';
}
Expand Down

0 comments on commit 5d8aed3

Please sign in to comment.