Better ArtistInfo field names

This commit is contained in:
Deluan
2020-10-20 11:33:55 -04:00
committed by Deluan Quintão
parent 00b6f895bb
commit 29d8950e5b
3 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -267,12 +267,12 @@ func (c *BrowsingController) GetArtistInfo(w http.ResponseWriter, r *http.Reques
response := newResponse()
response.ArtistInfo = &responses.ArtistInfo{}
response.ArtistInfo.Biography = info.Bio
response.ArtistInfo.Biography = info.Biography
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
response.ArtistInfo.MusicBrainzID = info.MBID
for _, s := range info.Similar {
similar := responses.Artist{}
similar.Id = s.ID