Skip to content

Commit

Permalink
feat: append paginated playlist track data
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <git@mattglei.ch>
  • Loading branch information
gleich committed Dec 2, 2024
1 parent ba5819d commit 38e296a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/apis/applemusic/playlists.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func fetchPlaylist(id string) (playlist, error) {
lumber.Error(err, "failed to paginate through tracks for playlist with id of", id)
return playlist{}, err
}
totalResponseData = append(totalResponseData, trackData.Data...)
}

var tracks []song
Expand Down

0 comments on commit 38e296a

Please sign in to comment.