mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-26 23:45:49 +03:00
[GH-ISSUE #275] replacePlaylistTracks tests for wrong response status #203
Labels
No labels
bug
docs
enhancement
enhancement
enhancement
feedback wanted
good first issue
help wanted
help wanted
help wanted
invalid
pull-request
question
question
upstream
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-web-api-php#203
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cdarken on GitHub (May 13, 2024).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/275
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
replacePlaylistTracksinsrc/SpotifyWebAPI.phpwhen 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 on GitHub (May 13, 2024):
Hey!
It does indeed! Spotify must have changed that at some point 🤔 I'll get that sorted straight away.
@jwilsson commented on GitHub (May 13, 2024):
6.0.4fixes it, thanks for the report!