From 52e1178f8704ba7f0946470bb45f8a1848be2ab6 Mon Sep 17 00:00:00 2001 From: Alex Sokol / y9san9 Date: Sat, 25 Nov 2023 21:14:46 +0300 Subject: [PATCH] fix: fixed token length --- src/main/kotlin/app/meetacy/telegram/bot/Main.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/meetacy/telegram/bot/Main.kt b/src/main/kotlin/app/meetacy/telegram/bot/Main.kt index f492b07..988bb02 100644 --- a/src/main/kotlin/app/meetacy/telegram/bot/Main.kt +++ b/src/main/kotlin/app/meetacy/telegram/bot/Main.kt @@ -26,7 +26,7 @@ suspend fun main(): Unit = coroutineScope { val token = System.getenv("BOT_TOKEN") val secretBotKey = System.getenv("SECRET_KEY").let(::SecretTelegramBotKey) - val secretBotKeySize = 256 + val secretBotKeySize = 64 val bot = telegramBot(token) val meetacy = MeetacyApi.production()