From 2c0e3d290cd0a09eb602c97c7d5834f5ff1bdda4 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Sun, 13 Jul 2025 19:55:11 -0400 Subject: [PATCH] Code formatting --- src/callers/song.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/callers/song.rs b/src/callers/song.rs index 0d53fd0..18fb05e 100644 --- a/src/callers/song.rs +++ b/src/callers/song.rs @@ -799,7 +799,8 @@ pub mod endpoint { (axum::http::StatusCode::OK, axum::Json(response)) } Err(err) => { - response.message = format!("{:?} song {:?}", err.to_string(), song); + response.message = + format!("{:?} song {:?}", err.to_string(), song); (axum::http::StatusCode::BAD_REQUEST, axum::Json(response)) } }, @@ -811,7 +812,10 @@ pub mod endpoint { } Err(err) => { response.message = err.to_string(); - (axum::http::StatusCode::INTERNAL_SERVER_ERROR, axum::Json(response)) + ( + axum::http::StatusCode::INTERNAL_SERVER_ERROR, + axum::Json(response), + ) } } }