chore: minor fixes (#159)

* fix: add `params` to `watch_playlist` endpoint

* fix: continuation in `PlaylistPanelContinuation`
This commit is contained in:
Patrick Kan
2022-09-03 01:24:36 +08:00
committed by GitHub
parent e3d38ad107
commit 53cb26546e
2 changed files with 4 additions and 2 deletions

View File

@@ -173,7 +173,8 @@ class NavigationEndpoint extends YTNode {
if (data?.watchPlaylistEndpoint) {
this.watch_playlist = {
playlist_id: data.watchPlaylistEndpoint?.playlistId
playlist_id: data.watchPlaylistEndpoint?.playlistId,
params: data.watchPlaylistEndpoint?.params || null
};
}