Skip to content

Commit 2e72c92

Browse files
committed
chore: update package
1 parent a3ccc71 commit 2e72c92

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dist/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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',

0 commit comments

Comments
 (0)