File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20105,7 +20105,7 @@ var GithubHelper = class {
2010520105 return data;
2010620106 }
2010720107 async getIssueList(params) {
20108- const { data } = await this.octokit.rest.issues.list ({
20108+ const { data } = await this.octokit.rest.issues.listForRepo ({
2010920109 ...params,
2011020110 owner: this.context.owner,
2011120111 repo: this.context.repo
@@ -20178,7 +20178,6 @@ async function main() {
2017820178 import_core.info(`repo: ${repo}`);
2017920179 import_core.info(`owner: ${owner}`);
2018020180 import_core.endGroup();
20181-
2018220181 const issues = await new GithubHelper({
2018320182 owner,
2018420183 repo,
Original file line number Diff line number Diff line change @@ -38,12 +38,11 @@ export class GithubHelper {
3838 }
3939
4040
41- async getIssueList ( params ?: RestEndpointMethodTypes [ "issues" ] [ "list " ] [ "parameters" ] ) {
42- const { data } = await this . octokit . rest . issues . list ( {
41+ async getIssueList ( params ?: RestEndpointMethodTypes [ "issues" ] [ "listForRepo " ] [ "parameters" ] ) {
42+ const { data } = await this . octokit . rest . issues . listForRepo ( {
4343 ...params ,
4444 owner : this . context . owner ,
4545 repo : this . context . repo ,
46-
4746 } )
4847 return data
4948 }
You can’t perform that action at this time.
0 commit comments