fixed eslint of Trigger.ts GithubOAuthService.ts etc (#1126)

This commit is contained in:
Sunil Kumar Yadav
2021-10-11 20:25:21 +05:30
committed by GitHub
parent ed1ffb692f
commit ff498b51e2
6 changed files with 26 additions and 27 deletions

View File

@@ -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);
}