style: apply nix fmt
This commit is contained in:
parent
9a0d525fdf
commit
e1e3bda94a
7 changed files with 22 additions and 10 deletions
|
|
@ -35,8 +35,11 @@ pub(super) async fn api_stats(
|
|||
/// the `mcp__hyperhive__get_loose_ends` tool sees from inside the
|
||||
/// container.
|
||||
pub(super) async fn api_loose_ends(State(state): State<AppState>) -> Response {
|
||||
match super::broker_request(&state.socket, &hive_sh4re::Request::GetLooseEnds { agent: None })
|
||||
.await
|
||||
match super::broker_request(
|
||||
&state.socket,
|
||||
&hive_sh4re::Request::GetLooseEnds { agent: None },
|
||||
)
|
||||
.await
|
||||
{
|
||||
Ok(hive_sh4re::Response::LooseEnds { loose_ends }) => {
|
||||
axum::Json(serde_json::json!({ "loose_ends": loose_ends })).into_response()
|
||||
|
|
|
|||
Loading…
Reference in a new issue