军团:加入军团后清空邀请
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user