From 42c839cfe3aac7a596324acfc32afad6a3aba303 Mon Sep 17 00:00:00 2001 From: phoenix Date: Tue, 5 May 2026 21:21:16 -0400 Subject: [PATCH] cargo fmt --- src/api.rs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/api.rs b/src/api.rs index bb2d39f..32ccc8c 100644 --- a/src/api.rs +++ b/src/api.rs @@ -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(