Skip to content

Commit

Permalink
request variable leaked into the global scope
Browse files Browse the repository at this point in the history
  • Loading branch information
fjakobs committed Oct 20, 2011
1 parent 99e6259 commit 9b4703a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oauth2.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
Expand Down

0 comments on commit 9b4703a

Please sign in to comment.