diff --git a/controllers/campaign.controller.js b/controllers/campaign.controller.js index b1c59059..810364fc 100644 --- a/controllers/campaign.controller.js +++ b/controllers/campaign.controller.js @@ -2761,7 +2761,7 @@ module.exports.campaignsStatistics = async (req, res) => { const payedAmountInCryptoCurrency = new Big( link.payedAmount - ).div(decimalPower.pow(getDecimal(tokenName))) + ).div(decimalPower.pow(getDecimal(tokenName) ?? 18)) const cryptoUnitPriceInUSD = new Big( Crypto[tokenName].price )