Skip to content

Commit

Permalink
Update log-contribution.js
Browse files Browse the repository at this point in the history
Trying to define the write variables to close the issue.

Signed-off-by: Sean P. Goggins <[email protected]>
  • Loading branch information
sgoggins authored Aug 28, 2024
1 parent b509bf4 commit 9529be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log-contribution.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const github = require('@actions/github');

// Attempt to close the issue after successfully adding the entry
try {
await octokit.issues.update({
await octokit.rest.issues.update({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issue.number,
Expand Down

0 comments on commit 9529be1

Please sign in to comment.