We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d1a540 + f2b4efe commit 00794feCopy full SHA for 00794fe
src/Service.gs
@@ -399,7 +399,7 @@ Service_.prototype.parseToken_ = function(content) {
399
} catch (e) {
400
throw 'Token response not valid JSON: ' + e;
401
}
402
- } else if (this.tokenFormat_ = TOKEN_FORMAT.FORM_URL_ENCODED) {
+ } else if (this.tokenFormat_ == TOKEN_FORMAT.FORM_URL_ENCODED) {
403
token = content.split('&').reduce(function(result, pair) {
404
var parts = pair.split('=');
405
result[decodeURIComponent(parts[0])] = decodeURIComponent(parts[1]);
0 commit comments