mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-19 17:01:13 +00:00
fixed eslint of Trigger.ts GithubOAuthService.ts etc (#1126)
This commit is contained in:
committed by
GitHub
parent
ed1ffb692f
commit
ff498b51e2
@@ -64,7 +64,7 @@ export class GitHubOAuthService {
|
||||
return params.state;
|
||||
}
|
||||
|
||||
public async finishOAuth(params: IGitHubConnectorParams) {
|
||||
public async finishOAuth(params: IGitHubConnectorParams): Promise<void> {
|
||||
try {
|
||||
this.validateState(params.state);
|
||||
const response = await this.junoClient.getGitHubToken(params.code);
|
||||
@@ -113,7 +113,7 @@ export class GitHubOAuthService {
|
||||
return this.state;
|
||||
}
|
||||
|
||||
public resetToken() {
|
||||
public resetToken(): void {
|
||||
this.token(undefined);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user