Skip to content

Commit

Permalink
[api] return the result instead of a bool on auth
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrugzz committed Aug 23, 2013
1 parent c50e886 commit 4d5a5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node.js/lib/client/users.js
Expand Up @@ -31,7 +31,7 @@ util.inherits(Users, Client);
Users.prototype.auth = function (callback) {
this.request({ uri: ['auth'] }, function (err, result) {
if (err) return callback(err)
callback(err, true);
callback(err, result);
});
};

Expand Down

0 comments on commit 4d5a5ce

Please sign in to comment.