From 02509466a6cfb332537a98ffb9a83447fd5129da Mon Sep 17 00:00:00 2001 From: "alterwain@protonmail.com" Date: Thu, 6 Mar 2025 02:03:02 +0300 Subject: [PATCH] 0.1.10 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e6f2a8b..f7342a9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1036,7 +1036,7 @@ dependencies = [ [[package]] name = "soundcloud" -version = "0.1.8" +version = "0.1.10" dependencies = [ "hyper-util", "regex", diff --git a/Cargo.toml b/Cargo.toml index 13799a3..d0c99f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "soundcloud" -version = "0.1.9" +version = "0.1.10" 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 9e149fc..24affb9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -30,7 +30,7 @@ pub async fn get_likes( user_id: u64, client_id: String, app_version: String, -) -> Result, Box> { +) -> Result, Box> { let client = reqwest::Client::new(); let resp = client.get(format!("https://{}/users/{}/likes?client_id={}&limit=10&offset=0&linked_partitioning=1&app_version={}&app_locale=en", SOUNDCLOUD_API_DOMAIN, user_id, client_id, app_version) )