Wipe data from CoverArt queue #36

Merged
phoenix merged 4 commits from wipe_data_from_coverart_queue into devel 2025-07-15 20:10:13 +00:00
Showing only changes of commit 2e6ff9cd87 - Show all commits

View File

@@ -74,17 +74,25 @@ async fn wipe_data_from_queues(
.json::<the_rest::wipe_data::song_queue::response::Response>()
.await
{
Ok(_resp) => match the_rest::wipe_data::coverart_queue::wipe_data(app_base_url, coverart_queue_id).await {
Ok(inner_response) => match inner_response.json::<the_rest::wipe_data::coverart_queue::response::Response>().await {
Ok(_resp) => match the_rest::wipe_data::coverart_queue::wipe_data(
app_base_url,
coverart_queue_id,
)
.await
{
Ok(inner_response) => match inner_response
.json::<the_rest::wipe_data::coverart_queue::response::Response>()
.await
{
Ok(_inner_resp) => {
println!("Wiped data from CoverArt queue");
println!("Resp: {_inner_resp:?}");
Ok(())
}
Err(err) => Err(std::io::Error::other(err.to_string()))
}
Err(err) => Err(std::io::Error::other(err.to_string()))
}
Err(err) => Err(std::io::Error::other(err.to_string())),
},
Err(err) => Err(std::io::Error::other(err.to_string())),
},
Err(err) => Err(std::io::Error::other(err.to_string())),
},
Err(err) => Err(std::io::Error::other(err.to_string())),