Logic error fix
This commit is contained in:
parent
9bfe92f0d6
commit
4b05f830b8
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ async fn lipsum_setup(pool: &PgPool) -> Result<(), sqlx::Error> {
|
||||||
.fetch_one(pool)
|
.fetch_one(pool)
|
||||||
.await
|
.await
|
||||||
.ok()
|
.ok()
|
||||||
.is_none();
|
.is_some();
|
||||||
|
|
||||||
if user_exist {
|
if user_exist {
|
||||||
let mut rng = rand::thread_rng();
|
let mut rng = rand::thread_rng();
|
||||||
|
|
Loading…
Reference in a new issue