Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bvotteler committed Nov 22, 2023
1 parent b25e257 commit 7d316b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/tvl_dex.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const tvlDex = async (request, response) => {
const cgResponse = await fetch(queryUrl, { headers: { "accept": "application/json" } });
const cgData = await cgResponse.json();

const allAmounts = pools.flatMap(pool.pooledCurrencies);
const allAmounts = pools.flatMap((pool) => pool.pooledCurrencies);

const amounts = dedupeMonetaryAmounts(allAmounts)
.map((monetaryAmount) => {
Expand Down

0 comments on commit 7d316b1

Please sign in to comment.