diff --git a/src/modules/fund/fund.model.js b/src/modules/fund/fund.model.js index 772c3e4..c08cff5 100644 --- a/src/modules/fund/fund.model.js +++ b/src/modules/fund/fund.model.js @@ -75,7 +75,7 @@ const FundSchema = new mongoose.Schema({ const FundModel = mongoose.model('Fund', FundSchema); -FundModel.prototype.hasNewDeposit = async () => { +FundModel.prototype.hasNewDeposit = async function () { if (this.tokenAddress.usdtETH) { const usdtTx = await getUSDTTxList(this.tokenAddress.usdtETH.address); if (usdtTx && usdtTx.length > 0) {