Permalink
Browse files

Merge pull request #73 from fjakobs/patch-1

request variable leaked into the global scope
  • Loading branch information...
2 parents 99e6259 + 9b4703a commit fd4b2bbf3778fffca945007767fdf3aea84b0549 @ciaranj committed Oct 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/oauth2.js
View
@@ -72,7 +72,7 @@ exports.OAuth2.prototype._request= function(method, url, headers, post_body, acc
}
}
- request = https.request(options, function (response) {
+ var request = https.request(options, function (response) {
response.on("data", function (chunk) {
result+= chunk
});

0 comments on commit fd4b2bb

Please sign in to comment.