Warning fix
This commit is contained in:
+2
-2
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user