mirror of
https://framagit.org/veretcle/tootube.git
synced 2025-07-20 20:41:17 +02:00
style: make fmt happy
This commit is contained in:
@@ -154,10 +154,11 @@ pub fn upload_video(
|
||||
|
||||
let client = reqwest::blocking::Client::new();
|
||||
|
||||
let res = client.put(r_url)
|
||||
.header("Authorization", format!("Bearer {}", access_token))
|
||||
.body(f_path.to_string())
|
||||
.send()?;
|
||||
let res = client
|
||||
.put(r_url)
|
||||
.header("Authorization", format!("Bearer {}", access_token))
|
||||
.body(f_path.to_string())
|
||||
.send()?;
|
||||
|
||||
if res.status().is_success() {
|
||||
Ok(())
|
||||
|
Reference in New Issue
Block a user