Skip to content

🎧 Your Personal Streaming Service

Fix `getTopSongs` endpoint mapping

Deluane2e79d6471ec
diff --git a/server/subsonic/api.go b/server/subsonic/api.go
index 30d46f5af..d357c4c29 100644
--- a/server/subsonic/api.go
+++ b/server/subsonic/api.go
@@ -77,7 +77,7 @@ func (api *Router) routes() http.Handler {
H(withPlayer, "getSong", c.GetSong)
H(withPlayer, "getArtistInfo", c.GetArtistInfo)
H(withPlayer, "getArtistInfo2", c.GetArtistInfo2)
- H(withPlayer, "GetTopSongs", c.GetTopSongs)
+ H(withPlayer, "getTopSongs", c.GetTopSongs)
})
r.Group(func(r chi.Router) {
c := initAlbumListController(api)