mirror of
https://framagit.org/veretcle/tootube.git
synced 2025-07-20 20:41:17 +02:00
fix: post instead of put
This commit is contained in:
@@ -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()?;
|
||||||
|
Reference in New Issue
Block a user