Logic error fix

This commit is contained in:
Imbus 2023-12-14 22:56:55 +01:00
parent 9bfe92f0d6
commit 4b05f830b8

View file

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