Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

fix: add missing argument to download function calls in HotmartDownloader

Tonho982a38de902b
diff --git a/src-tauri/src/platforms/hotmart/downloader.rs b/src-tauri/src/platforms/hotmart/downloader.rs
index e6fba832..16e34976 100644
--- a/src-tauri/src/platforms/hotmart/downloader.rs
+++ b/src-tauri/src/platforms/hotmart/downloader.rs
@@ -253,6 +253,7 @@ impl HotmartDownloader {
None,
Some(referer),
cancel_token.clone(),
+ None,
).await {
Ok(result) => {
let _ = bytes_tx.send(result.file_size_bytes);
@@ -327,6 +328,7 @@ impl HotmartDownloader {
None,
None,
cancel_token.clone(),
+ None,
).await {
Ok(result) => {
let _ = bytes_tx.send(result.file_size_bytes);