From 018ddce5fe1615bfb518c00c50f00aeadd5c8522 Mon Sep 17 00:00:00 2001 From: luying Date: Fri, 26 Aug 2022 20:14:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=94=E6=AD=A6=E5=8F=B0=EF=BC=9A=E5=9F=BA?= =?UTF-8?q?=E7=A1=80=E5=88=86=E7=BA=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/db/BossInstance.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/db/BossInstance.ts b/shared/db/BossInstance.ts index 8592146c3..7ede0a22c 100644 --- a/shared/db/BossInstance.ts +++ b/shared/db/BossInstance.ts @@ -113,7 +113,7 @@ export default class BossInstance extends BaseModel { } public static async findBySourceCode(guildCode: string, sourceCode: string) { - const rec: BossInstanceType = await BossInstanceModel.findOne({ guildCode, code: sourceCode }).select('ranks').lean(); + const rec: BossInstanceType = await BossInstanceModel.findOne({ guildCode, code: sourceCode }).select('ranks bossLv').lean(); return rec; }