fix: fixed grammar
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:
moonleay 2023-09-11 14:46:40 +02:00
parent 990387fed2
commit de1d8cd3a6

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