Added callers moulde #120

Merged
kdeng00 merged 44 commits from add_queue_endpoint into v0.2 2025-04-22 20:08:24 -04:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit ff8efca5b3 - Show all commits
+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;