From f55bdbb962eeb1fff010919fbb47b7304a5906c5 Mon Sep 17 00:00:00 2001 From: Daniel M Date: Thu, 4 Aug 2022 00:09:30 +0200 Subject: [PATCH] Fix `SpClient::get_playlist` endpoint generation --- core/src/spclient.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/spclient.rs b/core/src/spclient.rs index 0b2f08a8..1c8ea916 100644 --- a/core/src/spclient.rs +++ b/core/src/spclient.rs @@ -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 }