Skip to content

Commit

Permalink
Allow both id types in playlist_change_details (spotipy-dev#649)
Browse files Browse the repository at this point in the history
  • Loading branch information
z1lc authored Mar 2, 2021
1 parent be399fd commit d001326
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

// Add your changes here and then delete this line
- Enabled using both short and long IDs for playlist_change_details

## [2.17.1] - 2021-02-28

Expand Down
2 changes: 1 addition & 1 deletion spotipy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ def playlist_change_details(
if isinstance(description, six.string_types):
data["description"] = description
return self._put(
"playlists/%s" % (playlist_id), payload=data
"playlists/%s" % (self._get_id("playlist", playlist_id)), payload=data
)

def current_user_unfollow_playlist(self, playlist_id):
Expand Down

0 comments on commit d001326

Please sign in to comment.