mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 10:09:04 +00:00
fixed bug in github show function
This commit is contained in:
parent
6fe79d912a
commit
49763d1d06
2 changed files with 3 additions and 1 deletions
|
|
@ -82,7 +82,7 @@
|
|||
this.show = function(username, cb) {
|
||||
var command = username ? "/users/"+username : "/user";
|
||||
|
||||
_request("GET", "/users/"+username, null, function(err, res) {
|
||||
_request("GET", command, null, function(err, res) {
|
||||
cb(err, res);
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue