mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Fix
This commit is contained in:
@@ -52,7 +52,7 @@ pub async fn create_task(
|
||||
pub async fn get_task(task_id: String) -> Result<Task, Box<dyn std::error::Error + Send + Sync>> {
|
||||
Ok(reqwest::Client::new()
|
||||
.get(format!(
|
||||
"{}/api/check_archive/{task_id}/",
|
||||
"{}/api/check_archive/{task_id}",
|
||||
&config::CONFIG.batch_downloader_url
|
||||
))
|
||||
.header("Authorization", &config::CONFIG.batch_downloader_api_key)
|
||||
|
||||
Reference in New Issue
Block a user