Allow both id types in playlist_change_details (#649)

This commit is contained in:
Rob Sanek authored and GitHub committed 2021-03-02 19:41:14 +01:00
1 parent be399fd089
commit d001326cc3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased ## 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 ## [2.17.1] - 2021-02-28
+1 -1
View File
@@ -996,7 +996,7 @@ class Spotify(object):
if isinstance(description, six.string_types): if isinstance(description, six.string_types):
data["description"] = description data["description"] = description
return self._put( 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): def current_user_unfollow_playlist(self, playlist_id):