tsk-211: Fixing error on getting queue item
This commit is contained in:
@@ -97,10 +97,12 @@ pub async fn get_most_recent_and_update(pool: &sqlx::PgPool) -> Result<SongQueue
|
|||||||
.bind(status::PROCESSING)
|
.bind(status::PROCESSING)
|
||||||
.bind(status::READY)
|
.bind(status::READY)
|
||||||
.fetch_one(pool)
|
.fetch_one(pool)
|
||||||
.await
|
.await;
|
||||||
|
/*
|
||||||
.map_err(|e| {
|
.map_err(|e| {
|
||||||
eprintln!("Error inserting: {e}");
|
eprintln!("Error inserting: {e}");
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|
||||||
match result {
|
match result {
|
||||||
Ok(row) => {
|
Ok(row) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user