mirror of
https://github.com/InsanusMokrassar/TelegramBotApiLibraries.git
synced 2026-03-20 17:22:56 +00:00
update dependencies and fix build
This commit is contained in:
@@ -34,7 +34,7 @@ class DefaultAdminsCacheAPIRepoImpl(
|
||||
private val scope: CoroutineScope
|
||||
) : DefaultAdminsCacheAPIRepo {
|
||||
private val actor = scope.actorAsync<RepoActions<*>>(Channel.UNLIMITED) {
|
||||
safelyWithoutExceptions(
|
||||
runCatchingLogging (
|
||||
{ e ->
|
||||
it.deferred.completeExceptionally(e)
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ import kotlinx.serialization.*
|
||||
import kotlinx.serialization.json.Json
|
||||
import kotlinx.serialization.modules.SerializersModule
|
||||
import kotlinx.serialization.modules.polymorphic
|
||||
import org.jetbrains.exposed.sql.Database
|
||||
import org.jetbrains.exposed.v1.jdbc.Database
|
||||
|
||||
val telegramAdminsSerializationFormat = Json {
|
||||
ignoreUnknownKeys = true
|
||||
|
||||
@@ -16,7 +16,7 @@ import kotlinx.coroutines.sync.Mutex
|
||||
import kotlinx.coroutines.sync.withLock
|
||||
import kotlinx.serialization.*
|
||||
import kotlinx.serialization.json.JsonObject
|
||||
import org.jetbrains.exposed.sql.Database
|
||||
import org.jetbrains.exposed.v1.jdbc.Database
|
||||
import org.koin.core.Koin
|
||||
import org.koin.core.module.Module
|
||||
import org.koin.core.qualifier.named
|
||||
|
||||
Reference in New Issue
Block a user