mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Fix BOOK-BOT-98
This commit is contained in:
@@ -98,8 +98,7 @@ pub async fn download_file_by_link(
|
||||
let response = CLIENT
|
||||
.get(link)
|
||||
.send()
|
||||
.await?
|
||||
.error_for_status()?;
|
||||
.await?;
|
||||
|
||||
if response.status() != StatusCode::OK {
|
||||
return Ok(None);
|
||||
|
||||
Reference in New Issue
Block a user