Skip to content

Commit

Permalink
chore: update package
Browse files Browse the repository at this point in the history
  • Loading branch information
dessant committed Jul 9, 2021
1 parent a3ccc71 commit 2e72c92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24531,15 +24531,15 @@ class App {

if (lockComment) {
core.debug(`Commenting (${type}: ${issue.issue_number})`);
await this.client.issues.createComment({
await this.client.rest.issues.createComment({
...issue,
body: lockComment
});
}

if (lockLabels) {
core.debug(`Labeling (${type}: ${issue.issue_number})`);
await this.client.issues.addLabels({
await this.client.rest.issues.addLabels({
...issue,
labels: lockLabels
});
Expand All @@ -24558,7 +24558,7 @@ class App {
} else {
params = issue;
}
await this.client.issues.lock(params);
await this.client.rest.issues.lock(params);

threads.push(issue);
}
Expand Down Expand Up @@ -24594,7 +24594,7 @@ class App {

core.debug(`Searching (${type}s)`);
const results = (
await this.client.search.issuesAndPullRequests({
await this.client.rest.search.issuesAndPullRequests({
q: query,
sort: 'updated',
order: 'desc',
Expand Down

0 comments on commit 2e72c92

Please sign in to comment.