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.

feat: add optional parameter to download_attachment function

Tonhoa9f88e25ffe0
diff --git a/src-tauri/src/platforms/hotmart/downloader.rs b/src-tauri/src/platforms/hotmart/downloader.rs
index 89244ff7..5e07c055 100644
--- a/src-tauri/src/platforms/hotmart/downloader.rs
+++ b/src-tauri/src/platforms/hotmart/downloader.rs
@@ -281,6 +281,7 @@ impl HotmartDownloader {
out_dir,
None,
ytx,
+ None,
).await {
Ok(result) => {
let _ = bytes_tx.send(result.file_size_bytes);