💄: make clippy happy

This commit is contained in:
VC
2024-09-09 11:07:20 +02:00
parent be1e55650e
commit 5f03c3b8f1
2 changed files with 7 additions and 7 deletions

View File

@@ -238,7 +238,7 @@ impl PeerTube {
let req = self
.client
.post(&format!("{}/users/token", self.base_url))
.post(format!("{}/users/token", self.base_url))
.form(&params)
.send()
.await?
@@ -348,7 +348,7 @@ impl PeerTube {
while let Ok(mut local_pl) = self
.client
.get(&format!(
.get(format!(
"{}/video-playlists?count={}&playlistType=1&start={}",
self.base_url, inc, start
))
@@ -380,7 +380,7 @@ impl PeerTube {
let pl_created = self
.client
.post(&format!("{}/video-playlists", self.base_url))
.post(format!("{}/video-playlists", self.base_url))
.multipart(form)
.send()
.await?
@@ -402,7 +402,7 @@ impl PeerTube {
let res = self
.client
.post(&format!(
.post(format!(
"{}/video-playlists/{}/videos",
self.base_url, pl_uuid
))
@@ -432,7 +432,7 @@ impl PeerTube {
while let Ok(l_vid) = self
.client
.get(&format!(
.get(format!(
"{}/video-playlists/{}/videos?start={}&count={}",
&self.base_url, &uuid, start, inc
))

View File

@@ -248,7 +248,7 @@ impl YouTube {
let res = self
.client
.post(&format!(
.post(format!(
"https://www.googleapis.com/upload/youtube/v3/thumbnails/set?videoId={}&uploadType=media",
video_id
))
@@ -268,7 +268,7 @@ impl YouTube {
let mut playlists: Vec<String> = vec![];
while let Ok(local_pl) = self.client
.get(&format!(
.get(format!(
"https://www.googleapis.com/youtube/v3/playlists?part=snippet&mine=true&pageToken={}",
page_token
))