1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 01:39:28 +02:00

Fix NamedSpotifyId::to_uri

This commit is contained in:
George Hahn 2023-01-28 02:53:23 -07:00
parent 4610bd6f99
commit e8f93c44fd
2 changed files with 2 additions and 0 deletions

View file

@ -345,6 +345,7 @@ impl NamedSpotifyId {
let mut dst = String::with_capacity(37 + self.username.len() + item_type.len());
dst.push_str("spotify:user:");
dst.push_str(&self.username);
dst.push(':');
dst.push_str(item_type);
dst.push(':');
let base_62 = self.to_base62()?;