fix: fixed grammar
All checks were successful
Build Gradle project / build-gradle-project (push) Successful in 2m54s
All checks were successful
Build Gradle project / build-gradle-project (push) Successful in 2m54s
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
990387fed2
commit
de1d8cd3a6
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ import org.jetbrains.exposed.sql.transactions.transaction
|
||||||
|
|
||||||
object DB {
|
object DB {
|
||||||
private var connected = false
|
private var connected = false
|
||||||
//Connect to the provided DB; trows errors, if the DB is not avalible.
|
|
||||||
|
//Connect to the provided DB; trows errors, if the DB is not available.
|
||||||
fun connect(dbDomain: String, dbName: String, dbUser: String, dbPasswd: String) {
|
fun connect(dbDomain: String, dbName: String, dbUser: String, dbPasswd: String) {
|
||||||
Database.connect(
|
Database.connect(
|
||||||
"jdbc:postgresql://$dbDomain/$dbName",
|
"jdbc:postgresql://$dbDomain/$dbName",
|
||||||
|
|
Loading…
Reference in a new issue