From 5855af856b94b63499c93dd8fe5388c65077dc43 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Wed, 7 Jun 2023 21:35:36 +0200 Subject: [PATCH] Fix --- src/bots/approved_bot/services/batch_downloader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bots/approved_bot/services/batch_downloader.rs b/src/bots/approved_bot/services/batch_downloader.rs index af0f262..7900523 100644 --- a/src/bots/approved_bot/services/batch_downloader.rs +++ b/src/bots/approved_bot/services/batch_downloader.rs @@ -52,7 +52,7 @@ pub async fn create_task( pub async fn get_task(task_id: String) -> Result> { 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)