fix(server): repair go vet failures from A1+A2 cleanup (orphan imports + needle deref)

This commit is contained in:
2026-05-08 10:46:43 -04:00
parent c81491164a
commit 4ce7be4296
6 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -376,7 +376,7 @@ func (b *browseHandlers) search3(w http.ResponseWriter, r *http.Request) {
if songCount > 0 {
tracks, err := q.SearchTracks(r.Context(), dbq.SearchTracksParams{
Column1: needle, Limit: int32(songCount), Offset: int32(songOffset),
Column1: query, Limit: int32(songCount), Offset: int32(songOffset),
}) // UserID left zero (NULL) — Subsonic has no per-user quarantine context
if err != nil {
WriteFail(w, r, ErrGeneric, "Song search failed")