diff --git a/Cargo.toml b/Cargo.toml index d0c99f0..50bc346 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "soundcloud" -version = "0.1.10" +version = "0.1.11" edition = "2021" description = "A small rust crate for fetching data from soundcloud without developer account" authors = ["alterwain"] diff --git a/src/lib.rs b/src/lib.rs index 24affb9..a2f6b10 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -76,7 +76,7 @@ pub async fn get_playlists( user_id: u64, client_id: String, app_version: String, -) -> Result> { +) -> Result> { let client = reqwest::Client::new(); let resp = client.get(format!("https://{}/users/{}/playlists_without_albums?client_id={}&limit=10&offset=0&linked_partitioning=1&app_version={}&app_locale=en", SOUNDCLOUD_API_DOMAIN, user_id, client_id, app_version))