Fix middleware signature: Specify Request<Body> explicitly
All checks were successful
Build MIPS Binary / build (push) Successful in 4m7s

This commit is contained in:
spinline
2026-02-07 15:13:05 +03:00
parent d6ecc08398
commit 7361421641

View File

@@ -46,7 +46,7 @@ pub struct AppState {
async fn auth_middleware( async fn auth_middleware(
state: axum::extract::State<AppState>, state: axum::extract::State<AppState>,
jar: CookieJar, jar: CookieJar,
request: Request, request: Request<Body>,
next: Next, next: Next,
) -> Result<Response, StatusCode> { ) -> Result<Response, StatusCode> {
// Skip auth for public paths // Skip auth for public paths