Got it going
pr CI / Test Suite (pull_request) Failing after 2m51s

This commit is contained in:
2026-08-13 11:35:49 -04:00
parent db8e5458ca
commit 3d211f2e6e
4 changed files with 123 additions and 76 deletions
+5 -1
View File
@@ -25,7 +25,11 @@ pub async fn insert(
}
}
pub async fn update_file_key(pool: &sqlx::PgPool, id: &uuid::Uuid, file_key: &str) -> Result<(), sqlx::Error> {
pub async fn update_file_key(
pool: &sqlx::PgPool,
id: &uuid::Uuid,
file_key: &str,
) -> Result<(), sqlx::Error> {
match sqlx::query(
r#"
UPDATE "songQueueData" SET file_key = $1 WHERE id = $2;
+2
View File
@@ -252,6 +252,7 @@ pub async fn get_song_queue(
}
}
/*
pub async fn wipe_data(pool: &sqlx::PgPool, id: &uuid::Uuid) -> Result<uuid::Uuid, sqlx::Error> {
let result = sqlx::query(
r#"
@@ -299,3 +300,4 @@ pub async fn get_data(pool: &sqlx::PgPool, id: &uuid::Uuid) -> Result<Vec<u8>, s
Err(_err) => Err(sqlx::Error::RowNotFound),
}
}
*/