Permalink
Browse files

send GData-Version: 3.0 header

  • Loading branch information...
1 parent dd1c697 commit 1171245e333447e372e0f4673dce3d530fb11bb7 @ammmir committed Feb 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/client.js
View
@@ -16,7 +16,7 @@ var GDClient = function(consumer_key, consumer_secret) {
this.access_token = undefined;
this.access_token_secret = undefined;
this.oauth = new OAuth('https://www.google.com/accounts/OAuthGetRequestToken', 'https://www.google.com/accounts/OAuthGetAccessToken', consumer_key, consumer_secret, '1.0', null, 'HMAC-SHA1');
- this.oauth._headers['GData-Version'] = '2.0'; // HACK
+ this.oauth._headers['GData-Version'] = '3.0'; // HACK
};
GDClient.prototype.getAccessToken = function(email, password, cb) {

0 comments on commit 1171245

Please sign in to comment.