From 49763d1d06b08ba62ecc630c8d44e13426aa2975 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 3 Dec 2012 08:57:35 -0500 Subject: [PATCH] fixed bug in github show function --- ChangeLog | 2 ++ lib/client/storage/github/github.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3dbbb74a..10678c8b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -150,6 +150,8 @@ Javascript dissabled. oauth_client_secre to github_id and github_secret. Added dropbox_id option. +* Fixed bug in github show function. + 2012.10.01, Version 0.1.7 diff --git a/lib/client/storage/github/github.js b/lib/client/storage/github/github.js index f01c44f3..e7ba98d0 100644 --- a/lib/client/storage/github/github.js +++ b/lib/client/storage/github/github.js @@ -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); }); };