From 2e72c92d6ee526d6aa596efd45cd9741365db3a8 Mon Sep 17 00:00:00 2001 From: dessant Date: Fri, 9 Jul 2021 21:55:04 +0300 Subject: [PATCH] chore: update package --- dist/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index ce1ad90..9a55d31 100644 --- a/dist/index.js +++ b/dist/index.js @@ -24531,7 +24531,7 @@ 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 }); @@ -24539,7 +24539,7 @@ class App { if (lockLabels) { core.debug(`Labeling (${type}: ${issue.issue_number})`); - await this.client.issues.addLabels({ + await this.client.rest.issues.addLabels({ ...issue, labels: lockLabels }); @@ -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); } @@ -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',