Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
BigTailWolf committed May 18, 2024
1 parent d16618c commit 08c6b67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auth/oauth2client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -676,8 +676,8 @@ export class OAuth2Client extends AuthClient {
const url = this.endpoints.oauth2TokenUrl.toString();
const headers: any = {'Content-Type': 'application/x-www-form-urlencoded'};

Check warning on line 677 in src/auth/oauth2client.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
if (this.client_authentication === ClientAuthentication.ClientSecretBasic) {
const basic_auth
= 'basic ' + btoa(`${this._clientId}:${this._clientSecret}`);
const basic_auth =
'basic ' + btoa(`${this._clientId}:${this._clientSecret}`);
headers.Authorization = basic_auth;
}
const values: any = {

Check warning on line 683 in src/auth/oauth2client.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
Expand Down

0 comments on commit 08c6b67

Please sign in to comment.