mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
fixed bug in github show function
This commit is contained in:
parent
6245ec46a5
commit
ba89c9cb39
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