mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-20 06:12:22 +01:00
feat(about): admin, oper, group owner all can remove member of group
This commit is contained in:
@@ -196,7 +196,7 @@ exports.userByUsername = function (req, res, next, uname) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
} else if (!user) {
|
||||
return res.status(404).send({
|
||||
return res.status(422).send({
|
||||
message: 'No user with that username has been found'
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user