feat(about): admin, oper, group owner all can remove member of group

This commit is contained in:
OldHawk
2017-10-21 13:07:37 +08:00
parent 479376daa1
commit c55fc7f09d
10 changed files with 225 additions and 17 deletions

View File

@@ -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'
});
}