🐞 fix(名将擂台): 对手军团名

This commit is contained in:
luying
2023-05-12 18:06:53 +08:00
parent 133d85c303
commit 6f925d3bda

View File

@@ -55,7 +55,7 @@ export default class LadderMatch extends BaseModel {
}
public static async findByRoleIdAndInclude(roleId: string) {
const result: LadderMatchType = await LadderMatchModel.findOne({ roleId })
.populate('role', 'roleId roleName head frame spine heads frames spines title lv updatedAt')
.populate('role', 'roleId roleName head frame spine heads frames spines title lv guildName updatedAt')
.populate('defense.heroes.hero', 'hid skinId quality star colorStar lv skins job artifact subHid subActorId')
.lean();
return result;