persist app title + code refactoring

This commit is contained in:
2025-02-13 14:02:00 +01:00
parent 983915f8aa
commit 13c23303a9
15 changed files with 336 additions and 47 deletions

View File

@@ -48,10 +48,7 @@ func (h *RestHandler) Delete() http.HandlerFunc {
return
}
if err := json.NewEncoder(w).Encode("ok"); err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
w.WriteHeader(http.StatusOK)
}
}