update queued song #28
16
src/main.rs
16
src/main.rs
@@ -81,17 +81,15 @@ async fn some_work(
|
||||
.await
|
||||
{
|
||||
Ok(response) => {
|
||||
match response.json::<update_queued_song::response::Response>().await {
|
||||
Ok(_inner_response) => {
|
||||
Ok(())
|
||||
}
|
||||
Err(err) => Err(std::io::Error::other(
|
||||
err.to_string()))
|
||||
match response
|
||||
.json::<update_queued_song::response::Response>()
|
||||
.await
|
||||
{
|
||||
Ok(_inner_response) => 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) => {
|
||||
|
Reference in New Issue
Block a user