From 533aea4331f4d6e45de2947a1d39d4e5fc52f49a Mon Sep 17 00:00:00 2001 From: chaosBreaking Date: Sun, 8 Sep 2019 23:01:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=B7=E6=96=B0=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/fund/fund.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/fund/fund.controller.js b/src/modules/fund/fund.controller.js index edc364d..0359bc3 100644 --- a/src/modules/fund/fund.controller.js +++ b/src/modules/fund/fund.controller.js @@ -219,7 +219,7 @@ module.exports = { code: 0, data: fund.fundList }); - const { hasNew, list } = fund.hasNewDeposit(); + const { hasNew, list } = await fund.hasNewDeposit(); if (!hasNew) { const [ start, end ] = getDate(1); const actions = await Action.find({ userId, type: 1, createdAt: { $gt: start, $lt: end } });