Fix getTopSongs endpoint

This commit is contained in:
Deluan
2020-08-13 18:56:13 -04:00
parent 97c98e3369
commit a5e1986072
+1 -1
View File
@@ -82,7 +82,7 @@ func (api *Router) routes() http.Handler {
H(withPlayer, "getSong", c.GetSong) H(withPlayer, "getSong", c.GetSong)
H(withPlayer, "getArtistInfo", c.GetArtistInfo) H(withPlayer, "getArtistInfo", c.GetArtistInfo)
H(withPlayer, "getArtistInfo2", c.GetArtistInfo2) H(withPlayer, "getArtistInfo2", c.GetArtistInfo2)
H(withPlayer, "GetTopSongs", c.GetArtistInfo2) H(withPlayer, "GetTopSongs", c.GetTopSongs)
}) })
r.Group(func(r chi.Router) { r.Group(func(r chi.Router) {
c := initAlbumListController(api) c := initAlbumListController(api)