tsk-41: Added auth header to the appropriate request calls
This commit is contained in:
@@ -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?;
|
||||
|
||||
|
Reference in New Issue
Block a user