diff --git a/src/AppleMusicAPI.php b/src/AppleMusicAPI.php index 2548175..e7fa402 100644 --- a/src/AppleMusicAPI.php +++ b/src/AppleMusicAPI.php @@ -508,7 +508,7 @@ public function createLibraryPlaylist(LibraryPlaylistCreationRequest $playlist) $requestBody['attributes'] = [ 'name' => $playlist->getName(), 'description' => $playlist->getDescription(), - 'isPublic' => $playlist->getIsPublic(), + 'isPublic' => $playlist->isPublic(), ]; foreach ($playlist->getTracks() as $track) {