replacePlaylistTracks tests for wrong response status
Closed this issue · 2 comments
cdarken commented
Hi. I've been using your library, it works great!
But when updating a playlist I noticed the return false when actually I see the playlist updating.
The cause is the comparation with 201 of the response status in replacePlaylistTracks in src/SpotifyWebAPI.php when the Spotify api docs specify a 200 response in case of success (https://developer.spotify.com/documentation/web-api/reference/reorder-or-replace-playlists-tracks)
jwilsson commented
Hey!
It does indeed! Spotify must have changed that at some point 🤔 I'll get that sorted straight away.
jwilsson commented
6.0.4 fixes it, thanks for the report!