Update docs and version so we can move to v3 (#63)

* Update docs and version

* Fix readme typo
This commit is contained in:
Ross Brodbeck
2020-05-11 10:54:55 -04:00
committed by GitHub
parent 3838b887be
commit 1e900bc060
3 changed files with 13 additions and 15 deletions

View File

@@ -254,16 +254,14 @@ export class IssueProcessor {
// grab issues from github in baches of 100
private async getIssues(page: number): Promise<Issue[]> {
const issueResult: OctoKitIssueList = await this.client.issues.listForRepo(
{
owner: github.context.repo.owner,
repo: github.context.repo.repo,
state: 'open',
labels: this.options.onlyLabels,
per_page: 100,
page
}
);
const issueResult: OctoKitIssueList = await this.client.issues.listForRepo({
owner: github.context.repo.owner,
repo: github.context.repo.repo,
state: 'open',
labels: this.options.onlyLabels,
per_page: 100,
page
});
return issueResult.data;
}