From 7d316b1ab60761f50b35b55a2e3ce4972fc3e223 Mon Sep 17 00:00:00 2001 From: Brendon Votteler Date: Wed, 22 Nov 2023 12:29:09 +0200 Subject: [PATCH] fix: typo --- api/tvl_dex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tvl_dex.js b/api/tvl_dex.js index 778824e27..e6ca78a23 100644 --- a/api/tvl_dex.js +++ b/api/tvl_dex.js @@ -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) => {