Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.
Rust downloadmanagerguihacktoberfesthomebrewlightweightlinuxlinux-distributionlocal-firstmacosmacos-packagemedia-toolboxopen-sourcerustsveltetauritrendingtrending-repositorieswindowswindows-desktopytdlp
fix: change hotmart_check_session to use POST method for token validation
Tonho8098711620d5
diff --git a/src-tauri/src/commands/auth.rs b/src-tauri/src/commands/auth.rsindex 8d6bd7de..7f981eb0 100644--- a/src-tauri/src/commands/auth.rs+++ b/src-tauri/src/commands/auth.rs@@ -78,10 +78,8 @@ pub async fn hotmart_check_session(drop(guard);let resp = client- .get(format!(- "https://api-sec-vlc.hotmart.com/security/oauth/check_token?token={}",- token- ))+ .post("https://api-sec-vlc.hotmart.com/security/oauth/check_token")+ .form(&[("token", &token)]).send().await.map_err(|e| format!("Erro na validação: {}", e))?;