fixed stuff

This commit is contained in:
Kasper Juul Hermansen 2022-10-02 14:16:13 +02:00
parent 4c66fb1e7a
commit 71bdea4001
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ impl MutationRoot {
let user_id = user_service.add_user(username, password).await?; let user_id = user_service.add_user(username, password).await?;
Ok(user_id.into()) Ok(user_id)
} }
} }

View File

@ -1,4 +1,4 @@
use std::sync::Arc;
use anyhow::anyhow; use anyhow::anyhow;
use argon2::{password_hash::SaltString, Argon2, PasswordHash, PasswordHasher, PasswordVerifier}; use argon2::{password_hash::SaltString, Argon2, PasswordHash, PasswordHasher, PasswordVerifier};