({
owner,
repository,
issue_number,
body,
comment_id,
githubId,
}: Comment)
| 135 | githubId: string; |
| 136 | } |
| 137 | export const updateIssueComment = async ({ |
| 138 | owner, |
| 139 | repository, |
| 140 | issue_number, |
| 141 | body, |
| 142 | comment_id, |
| 143 | githubId, |
| 144 | }: Comment) => { |
| 145 | const github = await findGithubById(githubId); |
| 146 | const octokit = authGithub(github); |
| 147 | |
| 148 | await octokit.rest.issues.updateComment({ |
| 149 | owner: owner || "", |
| 150 | repo: repository || "", |
| 151 | issue_number: issue_number, |
| 152 | body, |
| 153 | comment_id: comment_id, |
| 154 | }); |
| 155 | }; |
| 156 | |
| 157 | interface CommentCreate { |
| 158 | appName: string; |
no test coverage detected