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();