fixed stuff
This commit is contained in:
parent
4c66fb1e7a
commit
71bdea4001
@ -35,7 +35,7 @@ impl MutationRoot {
|
||||
|
||||
let user_id = user_service.add_user(username, password).await?;
|
||||
|
||||
Ok(user_id.into())
|
||||
Ok(user_id)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
|
||||
use anyhow::anyhow;
|
||||
use argon2::{password_hash::SaltString, Argon2, PasswordHash, PasswordHasher, PasswordVerifier};
|
||||
|
Loading…
Reference in New Issue
Block a user