tsk-41: Added auth header to the appropriate request calls

This commit is contained in:
2025-08-14 18:48:33 -04:00
parent 7e9392ef1f
commit aa93e6cc4a
5 changed files with 23 additions and 10 deletions

View File

@@ -18,7 +18,8 @@ pub async fn update_queued_song(
let url = format!("{}/api/v2/song/queue/{song_queue_id}", app.uri);
println!("Url: {url:?}");
let request = client.patch(url).multipart(form);
let (key, header) = crate::api::auth_header(app).await;
let request = client.patch(url).multipart(form).header(key, header);
let response = request.send().await?;