Warning fix

This commit is contained in:
phoenix
2025-04-20 20:54:13 -04:00
parent c9a6991139
commit ff8efca5b3
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ mod song_queue {
INSERT INTO "songQueue" (data, filename) VALUES($1, $2) RETURNING id;
"#,
)
.bind(&data)
.bind(&filename)
.bind(data)
.bind(filename)
.fetch_one(pool)
.await
.map_err(|e| {
+2 -1
View File
@@ -116,7 +116,8 @@ pub async fn root() -> &'static str {
mod tests {
use crate::db;
use tower::ServiceExt;
// Might need later
// use tower::ServiceExt;
mod db_mgr {
use std::str::FromStr;