mirror of
https://github.com/flibusta-apps/batch_downloader.git
synced 2025-12-06 14:25:36 +01:00
Fix
This commit is contained in:
@@ -179,7 +179,7 @@ pub async fn create_archive_task(key: String, data: CreateTask) {
|
||||
return;
|
||||
}
|
||||
|
||||
let final_filename = match get_filename(data.object_type, data.object_id).await {
|
||||
let final_filename = match get_filename(data.object_type, data.object_id, data.file_format.clone()).await {
|
||||
Ok(v) => v,
|
||||
Err(err) => {
|
||||
set_task_error(key.clone(), "Can't get archive name!".to_string()).await;
|
||||
|
||||
Reference in New Issue
Block a user