fix: underscore unused config var in data
This commit is contained in:
parent
2864196584
commit
1646e60e65
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ struct Args {
|
|||
#[derive(Clone)]
|
||||
struct Data {
|
||||
pub pool: Pool<Postgres>,
|
||||
pub config: Config,
|
||||
pub _config: Config,
|
||||
pub argon2: Argon2<'static>,
|
||||
pub start_time: SystemTime,
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ async fn main() -> Result<(), Error> {
|
|||
|
||||
let data = Data {
|
||||
pool,
|
||||
config,
|
||||
_config: config,
|
||||
// TODO: Possibly implement "pepper" into this (thinking it could generate one if it doesnt exist and store it on disk)
|
||||
argon2: Argon2::default(),
|
||||
start_time: SystemTime::now(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue