Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 4809058

Browse files
authored
Merge pull request #43 from oaviles/main
Update Octokit API call to latest version
2 parents dca5273 + b569cda commit 4809058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

responses/14_create-js-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ async function run() {
108108

109109
const octokit = github.getOctokit(token);
110110

111-
const newIssue = await octokit.issues.create({
111+
const newIssue = await octokit.rest.issues.create({
112112
repo: github.context.repo.repo,
113113
owner: github.context.repo.owner,
114114
title: issueTitle,

0 commit comments

Comments
 (0)