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

@ -42,7 +42,7 @@ impl RustyPipeQuery {
.await;
let request_body = QBrowse {
context,
browse_id: artist_id.to_owned(),
browse_id: artist_id,
};
let (mut artist, album_page_params) = self
@ -78,7 +78,7 @@ impl RustyPipeQuery {
let context = self.get_context(ClientType::DesktopMusic, true, None).await;
let request_body = QBrowse {
context,
browse_id: artist_id.to_owned(),
browse_id: artist_id,
};
self.execute_request::<response::MusicArtist, _, _>(