v1.18.x
barisusakli 11 years ago
parent e1ad2537b6
commit 9c0446d416

@ -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) {

Loading…
Cancel
Save