From f0af0ff4a7044766e0da488595b673ce97a0395d Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Tue, 7 Jan 2025 19:21:57 +0100 Subject: [PATCH] Code cleanup --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index f2cc4b2..cd17a4d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -84,8 +84,6 @@ async fn create_user( let username = payload.username; let password = payload.password; - //let user_key = format!("user:{username}:key"); - let row: (i64,) = sqlx::query_as("SELECT COUNT(id) FROM users WHERE username = $1") .bind(&username) .fetch_one(&db_pool)