From 4b05f830b8f2d3c4822a62a02ccf92e9276ccd25 Mon Sep 17 00:00:00 2001 From: Imbus Date: Thu, 14 Dec 2023 22:56:55 +0100 Subject: [PATCH] Logic error fix --- server/src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/state.rs b/server/src/state.rs index 4367773..01d1305 100644 --- a/server/src/state.rs +++ b/server/src/state.rs @@ -112,7 +112,7 @@ async fn lipsum_setup(pool: &PgPool) -> Result<(), sqlx::Error> { .fetch_one(pool) .await .ok() - .is_none(); + .is_some(); if user_exist { let mut rng = rand::thread_rng();