mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Fix SpClient::get_playlist
endpoint generation
This commit is contained in:
parent
d88a20929f
commit
f55bdbb962
1 changed files with 1 additions and 1 deletions
|
@ -408,7 +408,7 @@ impl SpClient {
|
|||
}
|
||||
|
||||
pub async fn get_playlist(&self, playlist_id: &SpotifyId) -> SpClientResult {
|
||||
let endpoint = format!("/playlist/v2/playlist/{:?}", playlist_id.to_base62());
|
||||
let endpoint = format!("/playlist/v2/playlist/{}", playlist_id.to_base62()?);
|
||||
|
||||
self.request(&Method::GET, &endpoint, None, None).await
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue