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(`