Skip to content

Commit

Permalink
Rename getIsPublic to isPublic
Browse files Browse the repository at this point in the history
  • Loading branch information
WillyReyno authored May 22, 2024
1 parent 525e9c8 commit 1d14f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AppleMusicAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1d14f55

Please sign in to comment.