From f25438771e108f2bd116254506f4881236a9a6d6 Mon Sep 17 00:00:00 2001 From: Nils Fahle Date: Sat, 10 Jun 2023 00:56:23 +0200 Subject: [PATCH] fix get song --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ba476fb..cb1ba2c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -136,7 +136,7 @@ impl Song { } pub async fn get_song(id: String, pool: &Pool) -> Result { - let song = sqlx::query_as::("SELECT * FROM song_data WHERE UUID = ?") + let song = sqlx::query_as::("SELECT * FROM song_data WHERE uuid = ?") .bind(id) .fetch_one(pool) .await?;