From 340240575fda86e5be2453682a1e1dff92452c39 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 12 Feb 2024 04:42:34 -0500 Subject: [PATCH] fix: need to use ghComment --- api/routes_rest_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)