diff --git a/internal/subsonic/envelope.go b/internal/subsonic/envelope.go index 3e2024c4..ffbf4255 100644 --- a/internal/subsonic/envelope.go +++ b/internal/subsonic/envelope.go @@ -86,7 +86,7 @@ func writeJSONP(w http.ResponseWriter, body any, callback string) { return } w.Header().Set("Content-Type", "application/javascript; charset=utf-8") - fmt.Fprintf(w, "%s(", callback) + _, _ = fmt.Fprintf(w, "%s(", callback) _ = json.NewEncoder(w).Encode(map[string]any{"subsonic-response": body}) _, _ = io.WriteString(w, ")") }