fix: post instead of put

This commit is contained in:
VC
2023-10-04 10:11:59 +02:00
parent 301e6d1e32
commit 1b4ef5e920

View File

@@ -155,7 +155,7 @@ pub fn upload_video(
let client = reqwest::blocking::Client::new(); let client = reqwest::blocking::Client::new();
let res = client let res = client
.put(r_url) .post(r_url)
.header("Authorization", format!("Bearer {}", access_token)) .header("Authorization", format!("Bearer {}", access_token))
.body(f_path.to_string()) .body(f_path.to_string())
.send()?; .send()?;