fix: made it so that clippy doesn't complain about request

This commit is contained in:
NinekoTheCat 2023-12-25 01:30:22 +01:00
parent 580b6af894
commit 87c5def115
No known key found for this signature in database
GPG key ID: 700DB3F678A4AB66

View file

@ -648,7 +648,7 @@ fn server_routes() -> Router {
pub async fn deny_if_not_allowed_by_acl<T>(
host: Option<Host>,
request: http::Request<T>,
request: axum::http::Request<T>,
next: Next<T>,
) -> Response {
let Some(host) = host else {