cargo fmt
This commit is contained in:
+2
-10
@@ -77,11 +77,7 @@ pub mod get_metadata_queue {
|
||||
let endpoint = String::from("api/v2/song/metadata/queue");
|
||||
let api_url = format!("{}/{endpoint}?song_queue_id={song_queue_id}", app.uri);
|
||||
let (key, header) = super::auth_header(app).await;
|
||||
client
|
||||
.get(api_url)
|
||||
.header(key, header)
|
||||
.send()
|
||||
.await
|
||||
client.get(api_url).header(key, header).send().await
|
||||
}
|
||||
|
||||
pub mod response {
|
||||
@@ -129,11 +125,7 @@ pub mod get_coverart_queue {
|
||||
let endpoint = String::from("api/v2/coverart/queue");
|
||||
let api_url = format!("{}/{endpoint}?song_queue_id={song_queue_id}", app.uri);
|
||||
let (key, header) = super::auth_header(app).await;
|
||||
client
|
||||
.get(api_url)
|
||||
.header(key, header)
|
||||
.send()
|
||||
.await
|
||||
client.get(api_url).header(key, header).send().await
|
||||
}
|
||||
|
||||
pub async fn get_data(
|
||||
|
||||
Reference in New Issue
Block a user