Allow both id types in playlist_change_details (#649)

This commit is contained in:
Rob Sanek 2021-03-02 10:41:14 -08:00 committed by GitHub
parent be399fd089
commit d001326cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -996,7 +996,7 @@ class Spotify(object):
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):