mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-09-08 06:49:53 +02:00
feat(history): show user account history on manage page
This commit is contained in:
@@ -19,7 +19,7 @@ exports.userByID = function (req, res, next, id) {
|
||||
|
||||
User.findOne({
|
||||
_id: id
|
||||
}, '-remarks')
|
||||
}, '-history -remarks')
|
||||
.populate('invited_by', 'username displayName profileImageURL isVip score uploaded downloaded')
|
||||
.populate('makers', 'name')
|
||||
.exec(function (err, user) {
|
||||
|
||||
Reference in New Issue
Block a user