diff --git a/CHANGELOG.md b/CHANGELOG.md index 34c1b41..c567ec6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improve usability on README.md - Fix `user_playlists_contents` example. +### Fixed +- Fixed unused description parameter in playlist creation example + ## [2.23.0] - 2023-04-07 ### Added diff --git a/examples/create_playlist.py b/examples/create_playlist.py index b9f38f9..702c25c 100644 --- a/examples/create_playlist.py +++ b/examples/create_playlist.py @@ -24,7 +24,7 @@ def main(): scope = "playlist-modify-public" sp = spotipy.Spotify(auth_manager=SpotifyOAuth(scope=scope)) user_id = sp.me()['id'] - sp.user_playlist_create(user_id, args.playlist) + sp.user_playlist_create(user_id, args.playlist, description=args.description) if __name__ == '__main__':