Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

buildout

  • Loading branch information...
commit 28694187e8828ea74489b74d552ea048ecacad9e 1 parent 4cbf943
bryn austin bellomy authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  plugins/users/classes/userController.js
2  plugins/users/classes/userController.js
@@ -112,7 +112,7 @@ function userController() { this.fullConstruct() }
112 112 res.send(apiResponses.cannotFollowSelf())
113 113 else if (typeof username == 'undefined' || username == null)
114 114 res.send(apiResponses.missingField('field', 'username'))
115   - else
  115 + else {
116 116 var userToFollowId = plugin('users').userModel().name + '-' + username
117 117 plugin('users').userModel().idExists(userToFollowId, function(err, userToFollowExists) {
118 118 if (err || !userToFollowExists)

0 comments on commit 2869418

Please sign in to comment.
Something went wrong with that request. Please try again.