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:
@@ -157,7 +157,6 @@ impl FromStr for DownloadArchiveCommand {
|
|||||||
};
|
};
|
||||||
|
|
||||||
let obj_id: u32 = caps["id"].parse().unwrap();
|
let obj_id: u32 = caps["id"].parse().unwrap();
|
||||||
let file_type: String = caps["file_type"].to_string();
|
|
||||||
|
|
||||||
match &caps["type"] {
|
match &caps["type"] {
|
||||||
"s" => Ok(DownloadArchiveCommand::Sequence { id: obj_id }),
|
"s" => Ok(DownloadArchiveCommand::Sequence { id: obj_id }),
|
||||||
|
|||||||
Reference in New Issue
Block a user