fix: return json from write post
All checks were successful
Build and Push Server / build-and-push (push) Successful in 2m53s

This commit is contained in:
Max Richter
2025-10-31 17:27:15 +01:00
parent 3cd320637c
commit 3fe7577250

View File

@@ -87,7 +87,7 @@ func (h *Handler) post(w http.ResponseWriter, r *http.Request, target string) {
return
}
w.WriteHeader(http.StatusOK)
writeJSON(w, http.StatusOK, make(map[string]any))
}
func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {