mirror of
https://framagit.org/veretcle/tootube.git
synced 2025-07-21 04:51:18 +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 client = reqwest::blocking::Client::new();
|
||||||
|
|
||||||
let res = client.put(r_url)
|
let res = client
|
||||||
.header("Authorization", format!("Bearer {}", access_token))
|
.put(r_url)
|
||||||
.body(f_path.to_string())
|
.header("Authorization", format!("Bearer {}", access_token))
|
||||||
.send()?;
|
.body(f_path.to_string())
|
||||||
|
.send()?;
|
||||||
|
|
||||||
if res.status().is_success() {
|
if res.status().is_success() {
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Reference in New Issue
Block a user