Skip to content

Commit

Permalink
fix: limit when fetching markets from landing page (#3612)
Browse files Browse the repository at this point in the history
fix: fix limit when fetching markets from landing page
  • Loading branch information
therealemjy authored Dec 6, 2024
1 parent e62f0c8 commit 3a22cd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-parrots-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@venusprotocol/landing": patch
---

fix limit when fetching markets from landing page
2 changes: 1 addition & 1 deletion apps/landing/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { formatTvlData, mapMarketsData } from './utils';

const apiBaseUrl = 'https://api.venus.io/';

const marketsRequestUrl = `${apiBaseUrl}markets/core-pool?limit=999999`;
const marketsRequestUrl = `${apiBaseUrl}markets/core-pool?limit=500`;
const proposalsRequestUrl = `${apiBaseUrl}governance/proposals?limit=1`;
const tvlRequestUrl = `${apiBaseUrl}markets/tvl`;

Expand Down

0 comments on commit 3a22cd6

Please sign in to comment.