fix: need to use ghComment

This commit is contained in:
Derrick Hammer 2024-02-12 04:42:34 -05:00
parent 8640627536
commit 340240575f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ func (r restApi) handlerUpdateIssueComment(w http.ResponseWriter, request *http.
} }
comment := gitea.EditIssueCommentOption{ comment := gitea.EditIssueCommentOption{
Body: request.FormValue("body"), Body: ghComment.GetBody(),
} }
commentResponse, _, err := client.EditIssueComment(owner, repo, int64(commentIDInt), comment) commentResponse, _, err := client.EditIssueComment(owner, repo, int64(commentIDInt), comment)