summaryrefslogtreecommitdiff
path: root/internal/api
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api')
-rw-r--r--internal/api/handlers_podcast.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/handlers_podcast.go b/internal/api/handlers_podcast.go
index 53b3ea2..43f724c 100644
--- a/internal/api/handlers_podcast.go
+++ b/internal/api/handlers_podcast.go
@@ -160,5 +160,5 @@ func (s *Server) handleToggleComplete(w http.ResponseWriter, r *http.Request) {
return
}
- writeJSON(w, http.StatusNoContent, nil)
+ w.WriteHeader(http.StatusNoContent)
}