diff --git a/src/api.rs b/src/api.rs index f351a69..71a17d5 100644 --- a/src/api.rs +++ b/src/api.rs @@ -138,7 +138,7 @@ async fn query( } async fn routers( - State((cfg, _, store)): State<(Arc, TokioAsyncResolver, T)>, + State((_, _, store)): State<(Arc, TokioAsyncResolver, T)>, ) -> impl IntoResponse { serde_json::to_string(&store.get_routers()).unwrap() }