1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-08 09:42:59 +00:00

fix warnings

This commit is contained in:
2019-02-21 14:21:33 +08:00
parent 2974a33e51
commit 313068543f
10 changed files with 55 additions and 53 deletions

View File

@@ -16,7 +16,7 @@ import io.ktor.client.engine.okhttp.OkHttp
import io.ktor.util.cio.toByteArray
import kotlinx.coroutines.delay
import kotlinx.io.charsets.Charset
import kotlinx.serialization.json.JSON
import kotlinx.serialization.json.Json
class KtorRequestsExecutor(
token: String,
@@ -25,7 +25,7 @@ class KtorRequestsExecutor(
callsFactories: List<KtorCallFactory> = emptyList(),
excludeDefaultFactories: Boolean = false,
private val requestsLimiter: RequestLimiter = EmptyLimiter,
private val jsonFormatter: JSON = JSON.nonstrict
private val jsonFormatter: Json = Json.nonstrict
) : BaseRequestsExecutor(token, hostUrl) {
constructor(
token: String,