diff --git a/shared/db/PvpDefense.ts b/shared/db/PvpDefense.ts index 130d8dfb3..00fe6030d 100644 --- a/shared/db/PvpDefense.ts +++ b/shared/db/PvpDefense.ts @@ -151,7 +151,7 @@ export default class PvpDefense extends BaseModel { public static async findByScale(roleId: string, min: number, max: number, lean = true) { const result: PvpDefenseType[] = await PvpDefenseModel.find({ roleId: { $ne: roleId }, defCe: { $lte: max, $gte: min } }) - .populate('role', 'headHid sHid topFiveCe roleId roleName lv') + .populate('role', 'headHid sHid topFiveCe roleId roleName lv globalCeAttr') .populate('heroes.hero') .sort({ updatedAt: -1 }).limit(100).lean(lean); return result;