fix: octokit.repos.commentId is not a function

This commit is contained in:
Minsu Lee
2020-02-25 23:46:52 +09:00
parent 4950d38381
commit 5972282451

View File

@@ -216,7 +216,7 @@ async function createCommentOnCommit(deploymentCommit, deploymentUrl) {
`;
if (commentId) {
await octokit.repos.commentId({
await octokit.repos.updateCommitComment({
...context.repo,
comment_id: commentId,
body: commentBody