Permalink
Browse files

buildout

  • Loading branch information...
1 parent 4cbf943 commit 28694187e8828ea74489b74d552ea048ecacad9e @brynbellomy committed Oct 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/users/classes/userController.js
@@ -112,7 +112,7 @@ function userController() { this.fullConstruct() }
res.send(apiResponses.cannotFollowSelf())
else if (typeof username == 'undefined' || username == null)
res.send(apiResponses.missingField('field', 'username'))
- else
+ else {
var userToFollowId = plugin('users').userModel().name + '-' + username
plugin('users').userModel().idExists(userToFollowId, function(err, userToFollowExists) {
if (err || !userToFollowExists)

0 comments on commit 2869418

Please sign in to comment.