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)]
|
#[serde(untagged)]
|
||||||
pub(crate) enum NavigationEndpoint {
|
pub(crate) enum NavigationEndpoint {
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
Watch { watch_endpoint: WatchEndpoint },
|
Watch {
|
||||||
|
#[serde(alias = "reelWatchEndpoint")]
|
||||||
|
watch_endpoint: WatchEndpoint,
|
||||||
|
},
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
Browse {
|
Browse {
|
||||||
browse_endpoint: BrowseEndpoint,
|
browse_endpoint: BrowseEndpoint,
|
||||||
|
|
|
||||||
Reference in a new issue