From 7d3359dfb4507954ff868fde164307dfb3c30d85 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Fri, 15 May 2026 14:10:36 +0200 Subject: [PATCH] chore(lint) make the linter happy --- cmd/soundtouch-service/main.go | 1 - pkg/service/testing/fakespeaker/fakespeaker.go | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/soundtouch-service/main.go b/cmd/soundtouch-service/main.go index 9608d5a..7f6579c 100644 --- a/cmd/soundtouch-service/main.go +++ b/cmd/soundtouch-service/main.go @@ -908,7 +908,6 @@ func setupRouter(server *handlers.Server) *chi.Mux { r.Post("/v1/favorite/{stationID}", server.HandleTuneInFavorite) r.Delete("/v1/favorite/{stationID}", server.HandleTuneInDeleteFavorite) }) - }) // Orion (LOCAL_INTERNET_RADIO) lives at the top level — the BMX registry diff --git a/pkg/service/testing/fakespeaker/fakespeaker.go b/pkg/service/testing/fakespeaker/fakespeaker.go index ae59c4f..896da03 100644 --- a/pkg/service/testing/fakespeaker/fakespeaker.go +++ b/pkg/service/testing/fakespeaker/fakespeaker.go @@ -156,6 +156,7 @@ func registerRoutes(mux *http.ServeMux, overrides map[string][]byte) { func serveFixtureOr(embedPath string, override []byte) http.HandlerFunc { if override != nil { snapshot := append([]byte(nil), override...) + return func(w http.ResponseWriter, _ *http.Request) { w.Header().Set("Content-Type", "application/xml; charset=utf-8") _, _ = w.Write(snapshot)