fix: correct db name setting

This commit is contained in:
Derrick Hammer 2024-01-16 00:00:54 -05:00
parent 539d5ead65
commit d30d2f34b5
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ func (d *DatabaseImpl) Init(p interfaces.Portal) error {
password := viper.GetString("core.db.password") password := viper.GetString("core.db.password")
host := viper.GetString("core.db.host") host := viper.GetString("core.db.host")
port := viper.GetString("core.db.port") port := viper.GetString("core.db.port")
dbname := viper.GetString("core.db.dbname") dbname := viper.GetString("core.db.name")
charset := viper.GetString("core.db.charset") charset := viper.GetString("core.db.charset")
// Construct DSN // Construct DSN