fix: fixed grammar
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
7d1952d870
commit
5ce99c904e
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ import org.jetbrains.exposed.sql.transactions.transaction
|
|||
|
||||
object DB {
|
||||
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) {
|
||||
Database.connect(
|
||||
"jdbc:postgresql://$dbDomain/$dbName",
|
||||
|
|
Loading…
Reference in a new issue