fix(announce): fixed score count issue

This commit is contained in:
OldHawk
2018-05-13 16:48:15 +08:00
parent 6e01ac658e
commit 715e2f2718
18 changed files with 168 additions and 143 deletions

View File

@@ -20,7 +20,7 @@ exports.userByID = function (req, res, next, id) {
User.findOne({
_id: id
})
.populate('invited_by', 'username displayName profileImageURL')
.populate('invited_by', 'username displayName profileImageURL isVip score uploaded downloaded')
.populate('makers', 'name')
.exec(function (err, user) {
if (err) {