Skip to content

Commit

Permalink
Merge pull request #388 from merofinance/apr-fix
Browse files Browse the repository at this point in the history
🐛  Fix APRs
  • Loading branch information
chase-manning authored Dec 13, 2024
2 parents b6f77f1 + b9a254a commit 161faab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/apys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export async function getMainnetApys(): Promise<Apy[]> {
// This is temporary while the pool is new and volatile
// We will switch to the same APY system as the other pools once it stabilizes
export async function getPolygonApys(): Promise<Apy[]> {
return [];
const response = await fetch(POLYGON_API_URL);
const data = await response.json();
const aprData = data.apys[POLYGON_USDC_POOL_ID];
Expand Down

0 comments on commit 161faab

Please sign in to comment.