diff --git a/service/src/server/routes/status.rs b/service/src/server/routes/status.rs index 675b90f3..65a0eba7 100644 --- a/service/src/server/routes/status.rs +++ b/service/src/server/routes/status.rs @@ -67,8 +67,8 @@ pub async fn status_queries( match request.send().await { Ok(r) => match r.json::>().await { Ok(r) => (StatusCode::OK, Json(r)).into_response(), - Err(e) => return bad_request_response(&e.to_string()), + Err(e) => bad_request_response(&e.to_string()), }, - Err(e) => return bad_request_response(&e.to_string()), + Err(e) => bad_request_response(&e.to_string()), } }