fix tasks
All checks were successful
/ release (push) Successful in 29s

This commit is contained in:
speatzle 2024-10-08 16:51:36 +02:00
parent a60f05be12
commit f08a07e87d

View file

@ -107,7 +107,7 @@ func handleTasks(w http.ResponseWriter, r *http.Request) {
return
}
rows, err := db.Query(r.Context(), "SELECT id, name, path, enable, scan_new_queue_health, scan_changed_queue_health, scan_new_queue_transcode, scan_changed_queue_transcode, health_ok_queue_transcode, transcode_replace, transcode_path FROM libraries WHERE enable = $1", true)
rows, err := db.Query(r.Context(), "SELECT * FROM libraries WHERE enable = $1", true)
if err != nil {
slog.ErrorContext(r.Context(), "Query Libraries", "err", err)
http.Error(w, "Error Query Libraries: "+err.Error(), http.StatusInternalServerError)