Skip to content

Commit

Permalink
callback results when getAccessToken
Browse files Browse the repository at this point in the history
  • Loading branch information
btspoony committed Sep 20, 2011
1 parent 99e6259 commit 2e1f9f9
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 @@ -136,7 +136,7 @@ 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);
callback(null, access_token, refresh_token, results); // callback results =-=
}
});
}
Expand Down

0 comments on commit 2e1f9f9

Please sign in to comment.