fix upload

This commit is contained in:
Quaternions 2024-03-15 11:07:30 -07:00
parent c43ed400c9
commit eac6546aed

View File

@ -241,7 +241,7 @@ async fn upload_list(cookie:String,group:Option<u64>,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())