fix: need to use ghComment
This commit is contained in:
parent
8640627536
commit
340240575f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue