From a6c1c659008f8d4cbcdd6ac3006cb9d4c00d13b5 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Thu, 9 Jan 2025 08:47:39 +0100 Subject: [PATCH] code cleanup --- src/main.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index f75d992..f89b9e4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -87,9 +87,6 @@ async fn create_user( State(db_pool): State, Json(payload): Json, ) -> (StatusCode, Json) { - //let client = redis::Client::open("redis://127.0.0.1/").unwrap(); - //let mut con = client.get_connection().unwrap(); - let username = payload.username.trim().to_owned(); let password = payload.password;