mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
closes #1593
This commit is contained in:
@@ -136,9 +136,7 @@ accountsController.getAccount = function(req, res, next) {
|
||||
}
|
||||
|
||||
if(!userData) {
|
||||
return res.json(404, {
|
||||
error: 'User not found!'
|
||||
});
|
||||
return userNotFound(res);
|
||||
}
|
||||
|
||||
user.isFollowing(callerUID, userData.theirid, function (err, isFollowing) {
|
||||
|
||||
Reference in New Issue
Block a user