fix: fixed grammar

Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
moonleay 2023-09-11 14:46:40 +02:00
parent 7d1952d870
commit 5ce99c904e
Signed by: moonleay
GPG key ID: 82667543CCD715FB

View file

@ -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",