tsk-211: Fix SQL error when checking queue (#217)
* tsk-211: Fixing error on getting queue item * tsk-211: Some cleanup * tsk-211: Cleanup * tsk-211: Updated readme * tsk-211: Version bump
This commit was merged in pull request #217.
This commit is contained in:
@@ -97,10 +97,7 @@ pub async fn get_most_recent_and_update(pool: &sqlx::PgPool) -> Result<SongQueue
|
||||
.bind(status::PROCESSING)
|
||||
.bind(status::READY)
|
||||
.fetch_one(pool)
|
||||
.await
|
||||
.map_err(|e| {
|
||||
eprintln!("Error inserting: {e}");
|
||||
});
|
||||
.await;
|
||||
|
||||
match result {
|
||||
Ok(row) => {
|
||||
|
||||
Reference in New Issue
Block a user