diff --git a/backend/src/main.rs b/backend/src/main.rs index b34b3a4..4980096 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -87,7 +87,6 @@ async fn main() -> Result<()> { .nest("/api/auth", routes_auth) .merge(routes_health()) .layer(TraceLayer::new_for_http()) - .layer(middleware::map_response(main_response_mapper)) .layer(middleware::from_fn_with_state( user_repository, mw_ctx_resolver, @@ -116,7 +115,3 @@ async fn main() -> Result<()> { Ok(()) } -async fn main_response_mapper(res: Response) -> Response { - info!("response mapper: {}", res.status()); - res -}