Skip to content

Commit

Permalink
Fix Last.fm's artist.getInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Jul 4, 2021
1 parent fa8b4d4 commit 114fdce
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions core/agents/lastfm/responses.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,10 @@ type Response struct {
}

type Artist struct {
Name string `json:"name"`
MBID string `json:"mbid"`
URL string `json:"url"`
Image []ArtistImage `json:"image"`
Streamable string `json:"streamable"`
Stats struct {
Listeners string `json:"listeners"`
Plays string `json:"plays"`
} `json:"stats"`
Name string `json:"name"`
MBID string `json:"mbid"`
URL string `json:"url"`
Image []ArtistImage `json:"image"`
Similar SimilarArtists `json:"similar"`
Tags struct {
Tag []ArtistTag `json:"tag"`
Expand Down

0 comments on commit 114fdce

Please sign in to comment.