Skip to content

Conversation

rpeyron
Copy link

@rpeyron rpeyron commented Aug 1, 2021

Hello,

It seems that the UserArtist result structure is not compatible with react-spotify-api expected result because it includes it in an artists toplevel object (https://developer.spotify.com/documentation/web-api/reference/#category-follow). It is annoying because loadMoreData won't work.

This PR adds a processor to useApiRequest that helps to customize if needed the result.

I have also updated the documentation for UserArtists to make it compatible with v3.0.0 new syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant