@ -136,9 +136,7 @@ accountsController.getAccount = function(req, res, next) {
}
if(!userData) {
return res.json(404, {
return userNotFound(res);
error: 'User not found!'
});
user.isFollowing(callerUID, userData.theirid, function (err, isFollowing) {