mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 04:21:35 +00:00
fix: isn't always available
This commit is contained in:
@@ -30,7 +30,7 @@ class NavigationEndpoint {
|
||||
id: data?.browseEndpoint?.browseId || null,
|
||||
params: data?.browseEndpoint.params || null,
|
||||
base_url: data?.browseEndpoint?.canonicalBaseUrl || null,
|
||||
page_type: configs.pageType
|
||||
page_type: configs?.pageType
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user