update config name

This commit is contained in:
yggverse 2026-01-07 23:52:15 +02:00
parent d176ee87ea
commit 621dad3810
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ pub struct Config {
#[arg(long, default_value_t = 3306)] #[arg(long, default_value_t = 3306)]
pub mysql_port: u16, pub mysql_port: u16,
pub mysql_user: String, pub mysql_username: String,
pub mysql_password: String, pub mysql_password: String,
pub mysql_database: String, pub mysql_database: String,
} }

View file

@ -158,7 +158,7 @@ fn rocket() -> _ {
.manage(Mysql::connect( .manage(Mysql::connect(
&config.mysql_host, &config.mysql_host,
config.mysql_port, config.mysql_port,
&config.mysql_user, &config.mysql_username,
&config.mysql_password, &config.mysql_password,
&config.mysql_database, &config.mysql_database,
)) ))