From 55993c113f87e4f95115e3dc9097e7b1ec5be3f3 Mon Sep 17 00:00:00 2001 From: luying Date: Fri, 5 Feb 2021 15:08:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=9B=E5=9B=A2=EF=BC=9A=E5=8A=A0=E5=85=A5?= =?UTF-8?q?=E5=86=9B=E5=9B=A2=E5=90=8E=E6=B8=85=E7=A9=BA=E9=82=80=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/db/UserGuildApply.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/db/UserGuildApply.ts b/shared/db/UserGuildApply.ts index 98e24b6ee..3f2369840 100644 --- a/shared/db/UserGuildApply.ts +++ b/shared/db/UserGuildApply.ts @@ -35,7 +35,7 @@ export default class UserGuildApply extends BaseModel { // 删除玩家发出的所有申请 public static async deleteApply(roleId: string) { - const result = await UserGuildApplyModel.deleteMany({ roleId, type: GUILD_APPLY_TYPE.APPLY }); + const result = await UserGuildApplyModel.deleteMany({ roleId }); return result; }