remove dead code (bogus call to createCredentials)

This commit is contained in:
AJ ONeal 2015-02-04 10:36:03 -07:00
parent a4b96af335
commit 763d5ec3cc
1 changed files with 0 additions and 1 deletions

View File

@ -60,7 +60,6 @@ exports.OAuth2.prototype._chooseHttpLibrary= function( parsedUrl ) {
exports.OAuth2.prototype._request= function(method, url, headers, post_body, access_token, callback) {
var creds = crypto.createCredentials({ });
var parsedUrl= URL.parse( url, true );
if( parsedUrl.protocol == "https:" && !parsedUrl.port ) {
parsedUrl.port= 443;