style: make fmt happy

This commit is contained in:
VC
2023-10-03 16:16:34 +02:00
parent 8664b169f0
commit 301e6d1e32

View File

@@ -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(())