mirror of
https://framagit.org/veretcle/tootube.git
synced 2025-07-20 20:41:17 +02:00
💄: make clippy happy
This commit is contained in:
@@ -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(¶ms)
|
||||
.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
|
||||
))
|
||||
|
Reference in New Issue
Block a user