diff --git a/lib/oauth2.js b/lib/oauth2.js index 94ed662c..d828ccc3 100644 --- a/lib/oauth2.js +++ b/lib/oauth2.js @@ -191,7 +191,6 @@ exports.OAuth2.prototype.getOAuthAccessToken= function(code, params, callback) { } var access_token= results["access_token"]; var refresh_token= results["refresh_token"]; - delete results["refresh_token"]; callback(null, access_token, refresh_token, results); // callback results =-= } }); diff --git a/package.json b/package.json index 1a555333..2a4d0b9d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name" : "oauth" , "description" : "Library for interacting with OAuth 1.0, 1.0A, 2 and Echo. Provides simplified client access and allows for construction of more complex apis and OAuth providers." -, "version" : "0.9.14" +, "version" : "0.9.15" , "directories" : { "lib" : "./lib" } , "main" : "index.js" , "author" : "Ciaran Jessup "