mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 06:35:38 +01:00
Fix
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
use reqwest::{Response, multipart::{Form, Part}, header};
|
||||
use serde::Deserialize;
|
||||
use tracing::log;
|
||||
|
||||
use crate::config::CONFIG;
|
||||
|
||||
@@ -49,6 +50,8 @@ pub async fn upload_to_telegram_files(
|
||||
|
||||
let headers = data_response.headers();
|
||||
|
||||
log::info!("{:?}", headers);
|
||||
|
||||
let file_size = headers
|
||||
.get(header::CONTENT_LENGTH)
|
||||
.unwrap()
|
||||
|
||||
Reference in New Issue
Block a user