MCPcopy
hub / github.com/Dokploy/dokploy / updateIssueComment

Function updateIssueComment

packages/server/src/services/github.ts:137–155  ·  view source on GitHub ↗
({
	owner,
	repository,
	issue_number,
	body,
	comment_id,
	githubId,
}: Comment)

Source from the content-addressed store, hash-verified

135 githubId: string;
136}
137export 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
157interface CommentCreate {
158 appName: string;

Callers 2

deployPreviewApplicationFunction · 0.90

Calls 2

authGithubFunction · 0.90
findGithubByIdFunction · 0.85

Tested by

no test coverage detected