Skip to content

Commit acea530

Browse files
committed
Merge pull request #26 from coderaiser/patch-1
added ability to get current users info
2 parents f89422f + d471ab0 commit acea530

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

github.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
// -------
8181

8282
this.show = function(username, cb) {
83+
var command = username ? "/users/"+username : "/user";
84+
8385
_request("GET", "/users/"+username, null, function(err, res) {
8486
cb(err, res);
8587
});

0 commit comments

Comments
 (0)