mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 01:47:35 +00:00
minor changes
This commit is contained in:
parent
ef1bc4133c
commit
5b64662696
2 changed files with 30 additions and 5 deletions
|
|
@ -80,7 +80,9 @@
|
|||
// -------
|
||||
|
||||
this.show = function(username, cb) {
|
||||
_request("GET", "/users/"+username, null, function(err, res) {
|
||||
var command = username ? "/users/"+username : "/user";
|
||||
|
||||
_request("GET", command, null, function(err, res) {
|
||||
cb(err, res);
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue