Improve Scan, Seperate Hashing
All checks were successful
/ release (push) Successful in 42s

This commit is contained in:
Samuel Lorch 2024-07-07 01:12:01 +02:00
parent cd3c06d7d0
commit e47a254cad
8 changed files with 178 additions and 55 deletions

View file

@ -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)