Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-re-ka committed Nov 22, 2023
1 parent 93d7831 commit b039f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async fn query<T: Store>(
}

async fn routers<T: Store>(
State((cfg, _, store)): State<(Arc<ApiServerConfig>, TokioAsyncResolver, T)>,
State((_, _, store)): State<(Arc<ApiServerConfig>, TokioAsyncResolver, T)>,
) -> impl IntoResponse {
serde_json::to_string(&store.get_routers()).unwrap()
}
Expand Down

0 comments on commit b039f1b

Please sign in to comment.