Skip to content

Commit

Permalink
Clean up imports
Browse files Browse the repository at this point in the history
  • Loading branch information
erikreppel committed Apr 19, 2024
1 parent 32e7776 commit 6acbe88
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use axum::extract::State;
use axum::http::StatusCode;
use axum::middleware::from_fn_with_state;
use axum::routing::{get, post};
use axum::{Extension, Json, Router};
use axum::{Json, Router};
use serde::Serialize;
use sqlx::SqlitePool;
use tokio::net::TcpListener;
Expand Down Expand Up @@ -164,10 +164,9 @@ pub mod admin {
use axum::extract::{Request, State};
use axum::http::StatusCode;
use axum::middleware::Next;
use axum::response::{IntoResponse, Response};
use axum::response::Response;
use axum::Json;
use libp2p::swarm::NetworkInfo;
use serde::{Deserialize, Serialize};
use serde::Serialize;

pub async fn auth_middleware(
State(state): State<AppState>,
Expand Down

0 comments on commit 6acbe88

Please sign in to comment.