fix: used borrowed str for QBrowse

This commit is contained in:
ThetaDev 2022-11-10 23:26:05 +01:00
parent e4046aef00
commit dae8c1e775
6 changed files with 9 additions and 9 deletions

View file

@ -15,7 +15,7 @@ impl RustyPipeQuery {
let context = self.get_context(ClientType::Desktop, true, None).await;
let request_body = QBrowse {
context,
browse_id: "FEwhat_to_watch".to_owned(),
browse_id: "FEwhat_to_watch",
};
self.execute_request::<response::Startpage, _, _>(
@ -32,7 +32,7 @@ impl RustyPipeQuery {
let context = self.get_context(ClientType::Desktop, true, None).await;
let request_body = QBrowse {
context,
browse_id: "FEtrending".to_owned(),
browse_id: "FEtrending",
};
self.execute_request::<response::Trending, _, _>(