Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed UserArtists component #311

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fixed UserArtists component #311

wants to merge 2 commits into from

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