From 7361421641e87d1d6f6c68678b87362aa97128d0 Mon Sep 17 00:00:00 2001 From: spinline Date: Sat, 7 Feb 2026 15:13:05 +0300 Subject: [PATCH] Fix middleware signature: Specify Request explicitly --- backend/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main.rs b/backend/src/main.rs index 4c7e744..0d18810 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -46,7 +46,7 @@ pub struct AppState { async fn auth_middleware( state: axum::extract::State, jar: CookieJar, - request: Request, + request: Request, next: Next, ) -> Result { // Skip auth for public paths