From 23415c57aa7c56305e32ee1339c7766a494a4d2e Mon Sep 17 00:00:00 2001 From: j-hugo <67948298+j-hugo@users.noreply.github.com> Date: Sun, 29 Mar 2026 00:43:58 +0100 Subject: [PATCH] docs: correct task comment endpoint description and title (#2498) --- pkg/models/task_comments.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/models/task_comments.go b/pkg/models/task_comments.go index 4e9ab0ffa..e079f54e0 100644 --- a/pkg/models/task_comments.go +++ b/pkg/models/task_comments.go @@ -219,8 +219,8 @@ func getTaskCommentSimple(s *xorm.Session, tc *TaskComment) error { } // ReadOne handles getting a single comment -// @Summary Remove a task comment -// @Description Remove a task comment. The user doing this need to have at least read access to the task this comment belongs to. +// @Summary Get a task comment +// @Description Get a task comment. The user doing this need to have at least read access to the task this comment belongs to. // @tags task // @Accept json // @Produce json