fix: プロパティ名間違えていたので修正

This commit is contained in:
usbharu 2023-08-18 13:36:18 +09:00
parent 7f1aec3398
commit ebbf153b9b
2 changed files with 5 additions and 5 deletions

View File

@ -18,8 +18,8 @@ class DatabaseConfig {
return Database.connect( return Database.connect(
url = dbConfig.url, url = dbConfig.url,
driver = dbConfig.driver, driver = dbConfig.driver,
user = dbConfig.user ?: "", user = dbConfig.user,
password = dbConfig.password ?: "" password = dbConfig.password
) )
} }
@ -30,6 +30,6 @@ class DatabaseConfig {
data class DatabaseConnectConfig( data class DatabaseConnectConfig(
val url: String, val url: String,
val driver: String, val driver: String,
val user: String?, val user: String,
val password: String? val password: String
) )

View File

@ -2,5 +2,5 @@ hideout:
database: database:
url: "jdbc:h2:./test;MODE=POSTGRESQL" url: "jdbc:h2:./test;MODE=POSTGRESQL"
driver: "org.h2.Driver" driver: "org.h2.Driver"
username: "" user: ""
password: "" password: ""