fix: use visitor data for ordered channel videos
tests: fix tests
This commit is contained in:
parent
dff95d1272
commit
6cf59a167a
6 changed files with 47 additions and 38 deletions
|
|
@ -117,10 +117,7 @@ impl RustyPipeQuery {
|
|||
tab: ChannelVideoTab,
|
||||
order: ChannelOrder,
|
||||
) -> Result<Paginator<VideoItem>, Error> {
|
||||
let visitor_data = match tab {
|
||||
ChannelVideoTab::Shorts => Some(self.get_visitor_data().await?),
|
||||
_ => None,
|
||||
};
|
||||
let visitor_data = Some(self.get_visitor_data().await?);
|
||||
|
||||
self.continuation(
|
||||
order_ctoken(channel_id.as_ref(), tab, order),
|
||||
|
|
|
|||
Reference in a new issue