File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24531,15 +24531,15 @@ class App {
2453124531
2453224532 if (lockComment) {
2453324533 core.debug(`Commenting (${type}: ${issue.issue_number})`);
24534- await this.client.issues.createComment({
24534+ await this.client.rest. issues.createComment({
2453524535 ...issue,
2453624536 body: lockComment
2453724537 });
2453824538 }
2453924539
2454024540 if (lockLabels) {
2454124541 core.debug(`Labeling (${type}: ${issue.issue_number})`);
24542- await this.client.issues.addLabels({
24542+ await this.client.rest. issues.addLabels({
2454324543 ...issue,
2454424544 labels: lockLabels
2454524545 });
@@ -24558,7 +24558,7 @@ class App {
2455824558 } else {
2455924559 params = issue;
2456024560 }
24561- await this.client.issues.lock(params);
24561+ await this.client.rest. issues.lock(params);
2456224562
2456324563 threads.push(issue);
2456424564 }
@@ -24594,7 +24594,7 @@ class App {
2459424594
2459524595 core.debug(`Searching (${type}s)`);
2459624596 const results = (
24597- await this.client.search.issuesAndPullRequests({
24597+ await this.client.rest. search.issuesAndPullRequests({
2459824598 q: query,
2459924599 sort: 'updated',
2460024600 order: 'desc',
You can’t perform that action at this time.
0 commit comments