From a5e1986072f9d97ba6872a041e37b8f69ebfba59 Mon Sep 17 00:00:00 2001 From: Deluan Date: Thu, 13 Aug 2020 18:56:13 -0400 Subject: [PATCH] Fix `getTopSongs` endpoint --- server/subsonic/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/subsonic/api.go b/server/subsonic/api.go index f89d81b63..a9b4a7bb7 100644 --- a/server/subsonic/api.go +++ b/server/subsonic/api.go @@ -82,7 +82,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.GetArtistInfo2) + H(withPlayer, "GetTopSongs", c.GetTopSongs) }) r.Group(func(r chi.Router) { c := initAlbumListController(api)