From 8f3c97a532a4cace2bcb35943de25dfa33e31aec Mon Sep 17 00:00:00 2001 From: Daniele Tricoli Date: Tue, 8 Mar 2022 02:56:08 +0100 Subject: [PATCH] Fix logging for telegram chat id --- cmd/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/run.go b/cmd/run.go index deae3b6..66c9501 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -43,7 +43,7 @@ the specified Mastodon account.`, log.Println("Crating a new client for mastondon istance:", mastodon_instance) max_characters := parseMastodonMaxCharacters(os.Getenv(MASTODON_TOOT_MAX_CHARACTERS)) allowed_telegram_chat := parseTelegramChatID(os.Getenv(TELEGRAM_CHAT_ID)) - log.Println("Allowed telegram chat:", mastodon_instance) + log.Println("Allowed telegram chat id:", allowed_telegram_chat) bot, err := tgbotapi.NewBotAPI(os.Getenv(TELEGRAM_BOT_TOKEN)) if err != nil {