Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into master
  • Loading branch information
sthang authored Oct 21, 2019
commit 4e3a5bf166242d98dccf840ba2a40c8e2c3389f0
2 changes: 1 addition & 1 deletion src/OAuthClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function OAuthClient(config) {
// If autoRefreshInterval is not choosen by user, defaults to 3300 seconds (55 minutes) since tokens expire after 60 minutes.
this.autoRefreshInterval = config.autoRefreshInterval || 3300;
this.token = new Token(config.token);
this.logging = !!(config.hasOwnProperty('logging') && config.logging === true);
this.logging = !!(Object.prototype.hasOwnProperty.call(config, 'logging') && config.logging === true);
this.logger = null;
this.state = new csrf(); // eslint-disable-line new-cap

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.