This commit is contained in:
parent
cd3c06d7d0
commit
e47a254cad
8 changed files with 178 additions and 55 deletions
|
@ -63,10 +63,6 @@ func handleLibrary(w http.ResponseWriter, r *http.Request) {
|
|||
Enable: enabled,
|
||||
}
|
||||
|
||||
if r.Method == "PUT" {
|
||||
// TODO
|
||||
}
|
||||
|
||||
rows, err := db.Query(r.Context(), "SELECT id, path, size, status, health, transcode, md5, updated_at FROM files where library_id = $1", id)
|
||||
if err != nil {
|
||||
slog.ErrorContext(r.Context(), "Query Files", "err", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue