From 8f2b2ac1e28a47b9014915efe73db41416c921cf Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Wed, 7 Jun 2023 04:24:43 +0200 Subject: [PATCH] Fix --- src/bots/approved_bot/modules/download.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bots/approved_bot/modules/download.rs b/src/bots/approved_bot/modules/download.rs index 3258411..0071504 100644 --- a/src/bots/approved_bot/modules/download.rs +++ b/src/bots/approved_bot/modules/download.rs @@ -137,9 +137,9 @@ pub enum DownloadArchiveCommand { impl ToString for DownloadArchiveCommand { fn to_string(&self) -> String { match self { - DownloadArchiveCommand::Sequence { id } => format!("da_s_{id}"), - DownloadArchiveCommand::Author { id } => format!("da_a_{id}"), - DownloadArchiveCommand::Translator { id } => format!("da_t_{id}"), + DownloadArchiveCommand::Sequence { id } => format!("/da_s_{id}"), + DownloadArchiveCommand::Author { id } => format!("/da_a_{id}"), + DownloadArchiveCommand::Translator { id } => format!("/da_t_{id}"), } } }