Skip to content

Commit c8cc9e1

Browse files
committed
npm run prepare
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 587686a commit c8cc9e1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dist/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const run = async () => {
5656
// Remove old items in feed
5757
feed.items = feed.items.filter(x => x.pubDate === undefined || limitTime < new Date(x.pubDate).getTime())
5858

59-
const { data: issues } = await octokit.issues.listForRepo({
59+
const { data: issues } = await octokit.rest.issues.listForRepo({
6060
owner: context.repo.owner,
6161
repo: context.repo.repo,
6262
state: 'all',
@@ -131,7 +131,7 @@ const run = async () => {
131131
core.info(`Would create issue '${issue.title}' with content '${issue.body}'`)
132132
} else {
133133
try {
134-
const { data } = await octokit.issues.create({
134+
const { data } = await octokit.rest.issues.create({
135135
owner: context.repo.owner,
136136
repo: context.repo.repo,
137137
title: issue.title,

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)