Skip to content

Commit

Permalink
Fix APR with one entry
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Jun 18, 2024
1 parent b55027a commit 5310337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/v1/vaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const getVaults = async (chain: ChainId, period: Period) => {
);

return res.flatMap(chainRes =>
chainRes.map(chainPage =>
chainRes.flatMap(chainPage =>
chainPage.data.clms.map(vault => {
const token1 = vault.underlyingToken1;
return {
Expand Down

0 comments on commit 5310337

Please sign in to comment.