mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 15:42:52 +01:00
fix next
This commit is contained in:
@@ -196,7 +196,7 @@ middleware.exposeGroupName = function(req, res, next) {
|
||||
|
||||
middleware.exposeUid = function(req, res, next) {
|
||||
if (!req.params.hasOwnProperty('userslug')) {
|
||||
return nex();
|
||||
return next();
|
||||
}
|
||||
user.getUidByUserslug(req.params.userslug, function(err, uid) {
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user