Skip to content

Commit

Permalink
fix: restore price chart
Browse files Browse the repository at this point in the history
  • Loading branch information
donnyquixotic committed Aug 3, 2023
1 parent 5e7725d commit b767a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/price.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const getCoingeckoPriceChartData = async (
tokenId: string,
): Promise<PriceChartData> => {
const exchangeStatsUrl = getCoingeckoExchangeStatsUrl(tokenId);
const priceHistoryUrl = `https://api.coingecko.com/api/v3/coins/${tokenId}/market_chart?vs_currency=USD&days=1&interval=hourly`;
const priceHistoryUrl = `https://api.coingecko.com/api/v3/coins/${tokenId}/market_chart?vs_currency=USD&days=1`; // &interval=hourly` - restore if when enterprise plan enabled;

const [priceStats, priceHistory]: [PriceStats, PriceHistory] =
await Promise.all([
Expand Down

0 comments on commit b767a03

Please sign in to comment.