diff --git a/src/main.rs b/src/main.rs index 404e3a6..b31e8e7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -241,7 +241,7 @@ async fn upload_list(cookie:String,group:Option,asset_id_file_map:AssetIDFi } } - let body=tokio::fs::read_to_string(file).await?; + let body=tokio::fs::read(file).await?; let mut resp=client.post(url.clone()) .header("Cookie",cookie) .body(body.clone())