This commit is contained in:
parent
a60f05be12
commit
f08a07e87d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue