: upload specific video

This commit is contained in:
VC
2024-08-20 20:47:46 +02:00
parent ef40d7ad9a
commit fee6b51f45
5 changed files with 28 additions and 10 deletions

View File

@@ -279,7 +279,7 @@ impl PeerTube {
}
/// This gets all the crispy details about one particular video
async fn get_video_detail(&self, v: &str) -> Result<PeerTubeVideo, Box<dyn Error>> {
pub async fn get_video_detail(&self, v: &str) -> Result<PeerTubeVideo, Box<dyn Error>> {
let body = self
.client
.get(format!("{}/videos/{}", self.base_url, v))