Skip to content

Commit

Permalink
Fix coingecko + bump indexer version
Browse files Browse the repository at this point in the history
  • Loading branch information
Redm4x committed Mar 29, 2024
1 parent 64b5bd4 commit 4c1a2ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions indexer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion indexer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudmos-indexer",
"version": "1.7.5",
"version": "1.7.6",
"description": "Indexer for any Cosmos based blockchain",
"author": "Cloudmos",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion indexer/src/db/priceHistoryProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const syncPriceHistory = async () => {
return;
}

const endpointUrl = `https://api.coingecko.com/api/v3/coins/${activeChain.coinGeckoId}/market_chart?vs_currency=usd&days=365`;
const endpointUrl = `https://api.coingecko.com/api/v3/coins/${activeChain.coinGeckoId}/market_chart?vs_currency=usd&days=360`;

console.log("Fetching latest market data from " + endpointUrl);

Expand Down

0 comments on commit 4c1a2ae

Please sign in to comment.