code cleanup

This commit is contained in:
Martin Brodbeck 2025-01-09 08:47:39 +01:00
parent 9f23a778d5
commit a6c1c65900

View file

@ -87,9 +87,6 @@ async fn create_user(
State(db_pool): State<PgPool>, State(db_pool): State<PgPool>,
Json(payload): Json<User>, Json(payload): Json<User>,
) -> (StatusCode, Json<Value>) { ) -> (StatusCode, Json<Value>) {
//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 username = payload.username.trim().to_owned();
let password = payload.password; let password = payload.password;