From dcd094b6308632a066f5ad832d4971d4407c4486 Mon Sep 17 00:00:00 2001 From: Robin Olsen <129996395+Telikz@users.noreply.github.com> Date: Fri, 20 Mar 2026 12:57:47 +0100 Subject: [PATCH] Update pkg/web/handler/task.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- pkg/web/handler/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/web/handler/task.go b/pkg/web/handler/task.go index 36c3c1a..87c02be 100644 --- a/pkg/web/handler/task.go +++ b/pkg/web/handler/task.go @@ -32,7 +32,7 @@ func HandleTaskStatus(w http.ResponseWriter, r *http.Request) { if hx.IsHxRequest() { if taskFeedback.Success { w.Header().Set("HX-Trigger", "task-status-success") - w.WriteHeader(http.StatusOK) + w.WriteHeader(http.StatusNoContent) } else { hx.WriteString(`