diff options
Diffstat (limited to 'src/i18n.rs')
-rw-r--r-- | src/i18n.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/i18n.rs b/src/i18n.rs index 964aaa3..751a0ea 100644 --- a/src/i18n.rs +++ b/src/i18n.rs @@ -21,7 +21,6 @@ pub async fn set_language<E: Endpoint>(next: E, mut req: Request) -> poem::Resul .get::<Session>() .expect("To use the `set_language` middleware, the `Session` data is required."); session.set("lang", params.lang); - println!("{:?}", session.get::<String>("lang")) } next.call(req).await } |