From 35bf5b9e9d50bb3c2941529aa6614195d40ea31c Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 20 Aug 2020 01:50:51 +0600 Subject: [PATCH] fix of formatter in ChatSerializers --- .../TelegramBotAPI/types/chat/ChatSerializers.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/chat/ChatSerializers.kt b/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/chat/ChatSerializers.kt index 31a9d06552..8630079737 100644 --- a/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/chat/ChatSerializers.kt +++ b/TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/chat/ChatSerializers.kt @@ -13,7 +13,8 @@ import kotlinx.serialization.encoding.Decoder import kotlinx.serialization.encoding.Encoder import kotlinx.serialization.json.* -private val formatter = nonstrictJsonFormat +private val formatter + get() = nonstrictJsonFormat internal object PreviewChatSerializer : KSerializer { @InternalSerializationApi