mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-17 00:00:16 +02:00
Merge branch 'v0.8.x' into yanns/v0.8.9
This commit is contained in:
@@ -114,6 +114,7 @@ async fn list_keys(State(state): State<SharedState>) -> String {
|
||||
.join("\n")
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
fn admin_routes() -> Router<SharedState> {
|
||||
async fn delete_all_keys(State(state): State<SharedState>) {
|
||||
state.write().unwrap().db.clear();
|
||||
|
||||
Reference in New Issue
Block a user