fix: handle navigation endpoints for shorts (reelWatchEndpoint)
This commit is contained in:
parent
43ef8d15c4
commit
d78fa371e9
1 changed files with 4 additions and 1 deletions
|
|
@ -15,7 +15,10 @@ pub(crate) struct ResolvedUrl {
|
|||
#[serde(untagged)]
|
||||
pub(crate) enum NavigationEndpoint {
|
||||
#[serde(rename_all = "camelCase")]
|
||||
Watch { watch_endpoint: WatchEndpoint },
|
||||
Watch {
|
||||
#[serde(alias = "reelWatchEndpoint")]
|
||||
watch_endpoint: WatchEndpoint,
|
||||
},
|
||||
#[serde(rename_all = "camelCase")]
|
||||
Browse {
|
||||
browse_endpoint: BrowseEndpoint,
|
||||
|
|
|
|||
Reference in a new issue