From 4f9b6a7a5cb52e2748307362186b6c28da7e8fb1 Mon Sep 17 00:00:00 2001 From: micnncim Date: Tue, 5 May 2020 02:19:08 +0900 Subject: [PATCH] Fix typo in IssueProcessor.ts (#54) --- src/IssueProcessor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IssueProcessor.ts b/src/IssueProcessor.ts index b911e098..c4370746 100644 --- a/src/IssueProcessor.ts +++ b/src/IssueProcessor.ts @@ -2,7 +2,7 @@ import * as core from '@actions/core'; import * as github from '@actions/github'; import {Octokit} from '@octokit/rest'; -type OcotoKitIssueList = Octokit.Response; +type OctoKitIssueList = Octokit.Response; export interface Issue { title: string; @@ -157,7 +157,7 @@ export class IssueProcessor { // grab issues from github in baches of 100 private async getIssues(page: number): Promise { - const issueResult: OcotoKitIssueList = await this.client.issues.listForRepo( + const issueResult: OctoKitIssueList = await this.client.issues.listForRepo( { owner: github.context.repo.owner, repo: github.context.repo.repo,