Skip to content

Commit

Permalink
fix(relay): fmt check
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelMedeiros committed Feb 18, 2025
1 parent 0f3e7ac commit f029674
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions relay/src/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ use crate::error::Error;

use crate::AppState;

use axum::response::Response;
use axum::body::Body;
use axum::response::Response;

#[derive(Serialize)]
struct RelayInfo {
Expand Down Expand Up @@ -158,9 +158,7 @@ pub async fn get(
}
}

pub async fn info(
State(state): State<AppState>,
) -> Result<Response<Body>, Error> {
pub async fn info(State(state): State<AppState>) -> Result<Response<Body>, Error> {
let cache = state.client.cache().expect("lmdb_cache");

let size = cache.len();
Expand Down

0 comments on commit f029674

Please # to comment.