diff --git a/api/routes_rest_api.go b/api/routes_rest_api.go index 55dfcf4..ea804ec 100644 --- a/api/routes_rest_api.go +++ b/api/routes_rest_api.go @@ -268,7 +268,7 @@ func (r restApi) handlerUpdateIssueComment(w http.ResponseWriter, request *http. } comment := gitea.EditIssueCommentOption{ - Body: request.FormValue("body"), + Body: ghComment.GetBody(), } commentResponse, _, err := client.EditIssueComment(owner, repo, int64(commentIDInt), comment)