Add missing fields to ArtistInfo

This commit is contained in:
Deluan
2020-10-18 22:02:30 -04:00
committed by Deluan Quintão
parent 07535e1518
commit 07d96f8308
3 changed files with 18 additions and 0 deletions
+2
View File
@@ -271,6 +271,8 @@ func (c *BrowsingController) GetArtistInfo(w http.ResponseWriter, r *http.Reques
response.ArtistInfo.SmallImageUrl = info.SmallImageUrl
response.ArtistInfo.MediumImageUrl = info.MediumImageUrl
response.ArtistInfo.LargeImageUrl = info.LargeImageUrl
response.ArtistInfo.LastFmUrl = info.LastFMUrl
response.ArtistInfo.MusicBrainzID = info.MbzID
for _, s := range info.Similar {
similar := responses.Artist{}
similar.Id = s.ID