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

@ -18,7 +18,7 @@ impl RustyPipeQuery {
let context = self.get_context(ClientType::Desktop, true, None).await;
let request_body = QBrowse {
context,
browse_id: "VL".to_owned() + playlist_id,
browse_id: &format!("VL{}", playlist_id),
};
self.execute_request::<response::Playlist, _, _>(