From fdee8d7fe917136ee4e4030d6c76839d6319490a Mon Sep 17 00:00:00 2001 From: VC Date: Wed, 4 Oct 2023 10:27:34 +0200 Subject: [PATCH] test: to be dropped --- src/peertube.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peertube.rs b/src/peertube.rs index ca945f4..78c94a0 100644 --- a/src/peertube.rs +++ b/src/peertube.rs @@ -37,7 +37,7 @@ pub struct PeerTubeVideoStreamingPlaylistsFilesResolution { /// This gets the last video uploaded to the PeerTube server pub fn get_latest_video(u: &str) -> Result> { - let body = reqwest::blocking::get(format!("{}/api/v1/videos?count=1&sort=-publishedAt", u))? + let body = reqwest::blocking::get(format!("{}/api/v1/videos?count=1&sort=publishedAt", u))? .json::()?; let vid = get_video_detail(u, &body.data[0].uuid)?;