diff --git a/src/core/managers/PlaylistManager.ts b/src/core/managers/PlaylistManager.ts index f565640a8..849a17713 100644 --- a/src/core/managers/PlaylistManager.ts +++ b/src/core/managers/PlaylistManager.ts @@ -110,7 +110,7 @@ export default class PlaylistManager { const playlist = new Playlist(this.#actions, info, true); - if (!playlist.info.is_editable) + if (playlist.info.is_editable === false) throw new InnertubeError('This playlist cannot be edited.', playlist_id); const payload: EditPlaylistEndpointOptions = { playlist_id, actions: [] };