From 9529be103d59b6b8066bdfb27375889852246a89 Mon Sep 17 00:00:00 2001 From: "Sean P. Goggins" Date: Tue, 27 Aug 2024 20:58:27 -0500 Subject: [PATCH] Update log-contribution.js Trying to define the write variables to close the issue. Signed-off-by: Sean P. Goggins --- log-contribution.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log-contribution.js b/log-contribution.js index 7744db3..95b2bfd 100644 --- a/log-contribution.js +++ b/log-contribution.js @@ -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,