This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Description
You have:
this.me = function(cb) {
if (self.token) {
self.get('/me', function(me) {
cb(me);
});
} else {
cb();
}
}
But the successful self.get function returns cb(null,result), so it should be:
this.me = function(cb) {
if (self.token) {
self.get('/me', function(err, me) {
cb(me);
});
} else {
cb();
}
}
Sorry for not just making the edit and submitting a pull request but I made a few other changes others may not want and this is a pretty minor fix :).