From 7aead9399cfcfc4c706adf81cd670711bfaec687 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Wed, 29 Oct 2025 14:43:40 -0400 Subject: [PATCH] tsk-213: Warning fix --- src/callers/queue/song.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/callers/queue/song.rs b/src/callers/queue/song.rs index 1a1c664..9e6ba8b 100644 --- a/src/callers/queue/song.rs +++ b/src/callers/queue/song.rs @@ -431,18 +431,18 @@ pub mod endpoint { } } else { response.message = String::from("Invalid song type"); - return ( + ( axum::http::StatusCode::INTERNAL_SERVER_ERROR, axum::Json(response), - ); + ) } } Err(err) => { response.message = err.to_string(); - return ( + ( axum::http::StatusCode::INTERNAL_SERVER_ERROR, axum::Json(response), - ); + ) } } } else {