Skip to content

Commit

Permalink
DougMidgley#197 Minor Fixes for code review.
Browse files Browse the repository at this point in the history
  • Loading branch information
BF\fazalur.habibur committed Jun 10, 2024
1 parent ac55c8d commit 50c089b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export default class Auth {
async getAccessToken(forceRefresh, remainingAttempts) {
if (this.authObject.access_token) {
return this.authObject;
} else if (!this.authObject.access_token) {
} else {
if (remainingAttempts === undefined) {
remainingAttempts = this.options.requestAttempts;
}
Expand Down

0 comments on commit 50c089b

Please sign in to comment.