Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

buildout

  • Loading branch information...
commit 28694187e8828ea74489b74d552ea048ecacad9e 1 parent 4cbf943
@brynbellomy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugins/users/classes/userController.js
View
2  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)
Please sign in to comment.
Something went wrong with that request. Please try again.