fix: botched edit
CI / test (push) Successful in 2m21s
CI / docker (push) Successful in 3m2s
CI / release (push) Skipped
Release / release (push) Successful in 26s

This commit is contained in:
zwitschi committed 2026-08-06 18:08:23 +02:00
1 parent d2e5b64ece
commit b5710548b1
1 file changed
+8
+8
View File
@@ -1067,6 +1067,14 @@ func handleAdminRestart(w http.ResponseWriter, r *http.Request) {
func handleAdminSystemSummary(w http.ResponseWriter, r *http.Request) {
if r.Method != http.MethodGet {
http.Error(w, "method not allowed", http.StatusMethodNotAllowed)
return
}
summary := getAdminSystemSummary()
w.Header().Set("Content-Type", "application/json")
json.NewEncoder(w).Encode(summary)
}
func handleAdminUsers(w http.ResponseWriter, r *http.Request) {
switch r.Method {