tree: upgrade axum: respond to cole-h feedback
This commit is contained in:
parent
1f386d2aac
commit
cc01b81323
|
@ -13,7 +13,6 @@ axum = { version = "0.7.5", default-features = false, features = [
|
||||||
"http2",
|
"http2",
|
||||||
"macros"
|
"macros"
|
||||||
] }
|
] }
|
||||||
# axum-macros = "0.3.7"
|
|
||||||
clap = { version = "4.2.7", default-features = false, features = [
|
clap = { version = "4.2.7", default-features = false, features = [
|
||||||
"std",
|
"std",
|
||||||
"derive",
|
"derive",
|
||||||
|
|
|
@ -74,7 +74,6 @@ async fn get_narinfo(
|
||||||
pull_through(&state, &path)
|
pull_through(&state, &path)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[axum::debug_handler]
|
|
||||||
async fn put_narinfo(
|
async fn put_narinfo(
|
||||||
Extension(state): Extension<State>,
|
Extension(state): Extension<State>,
|
||||||
Path(path): Path<String>,
|
Path(path): Path<String>,
|
||||||
|
|
Loading…
Reference in a new issue