diff --git a/server/internal/handler/handler.go b/server/internal/handler/handler.go index a57f9e3..84a728a 100644 --- a/server/internal/handler/handler.go +++ b/server/internal/handler/handler.go @@ -95,9 +95,11 @@ func (h *Handler) post(w http.ResponseWriter, r *http.Request, target string) { return } writeJSON(w, http.StatusOK, data) + return } writeJSON(w, http.StatusOK, map[string]any{"success": true}) + return } func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {