mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-27 07:55:49 +03:00
[PR #87] [CLOSED] Bugfix, send empty body when no options are passed in for the me/play… #255
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#255
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?
📋 Pull Request Information
Original PR: https://github.com/jwilsson/spotify-web-api-php/pull/87
Author: @fan1200
Created: 6/7/2017
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
4f3bd69Bugfix, send empty body when no options are passed in for the me/player/play endpoint.📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/SpotifyWebAPI.php(+1 -1)📄 Description
…er/play endpoint.
Hi,
I came a across a bug where the player won't resume anymore. This was cost because of the body it was sending. When you just want to resume the player you must send a empty body, which was not the case since you converted the array to a json object.
First I wanted to solve this by making
$optionsstandard null but I saw you handled other endpoints with no body with a empty array.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.