mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-02-28 01:00:59 +01:00
opt(users): admin can create maker for user if him already join other maker group
This commit is contained in:
@@ -604,7 +604,7 @@ exports.userByID = function (req, res, next, id) {
|
||||
|
||||
User.findById(id, '-salt -password -providerData')
|
||||
.populate('invited_by', 'username displayName profileImageURL')
|
||||
.populate('makers', 'name')
|
||||
.populate('makers', 'user name')
|
||||
.exec(function (err, user) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
|
||||
Reference in New Issue
Block a user