fix errors
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-04-06 01:43:43 +02:00
parent a43b692acf
commit f4ce568aa8
4 changed files with 24 additions and 13 deletions

View File

@@ -14,11 +14,11 @@ object DatabaseFactory {
@KtorExperimentalAPI
private val appConfig = HoconApplicationConfig(ConfigFactory.load())
@KtorExperimentalAPI
private val dbUrl = appConfig.property("db.jdbc").getString()
private val dbUrl = appConfig.property("ktor.db.jdbc").getString()
@KtorExperimentalAPI
private val dbUser = appConfig.property("db.user").getString()
private val dbUser = appConfig.property("ktor.db.user").getString()
@KtorExperimentalAPI
private val dbPassword = appConfig.property("db.password").getString()
private val dbPassword = appConfig.property("ktor.db.password").getString()
@KtorExperimentalAPI
fun init() {