diff --git a/pages/api/getFactoryAPYs/ethereum.js b/pages/api/getFactoryAPYs/ethereum.js index 45a4081a..4e46e13f 100644 --- a/pages/api/getFactoryAPYs/ethereum.js +++ b/pages/api/getFactoryAPYs/ethereum.js @@ -138,7 +138,7 @@ export default fn(async ({ version }) => { index, poolAddress: pool.address, poolSymbol: pool.symbol, - apyFormatted: `${poolStats.latestDailyApy.toFixed(2)}%`, + apyFormatted: `${(poolStats.latestDailyApy ?? 0).toFixed(2)}%`, apy: poolStats.latestDailyApy, apyWeekly: poolStats.latestWeeklyApy, virtualPrice: poolStats.virtualPrice,