diff options
author | cel 🌸 <cel@blos.sm> | 2024-09-10 17:33:54 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2024-09-10 17:33:54 +0100 |
commit | 9d04ff6a4d1dde541a0253e0db59957c69fec4cf (patch) | |
tree | 70c7f9a2e6b64eef21e5efe78012d2e3261f4de0 /internal/notifier/telegram | |
parent | 6fb41ab9b491a257b027bf8a3c8a0828dc681b9a (diff) | |
download | donetick-main.tar.gz donetick-main.tar.bz2 donetick-main.zip |
Diffstat (limited to 'internal/notifier/telegram')
-rw-r--r-- | internal/notifier/telegram/telegram.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/notifier/telegram/telegram.go b/internal/notifier/telegram/telegram.go index 3f064b6..eaa89d1 100644 --- a/internal/notifier/telegram/telegram.go +++ b/internal/notifier/telegram/telegram.go @@ -19,7 +19,7 @@ type TelegramNotifier struct { } func NewTelegramNotifier(config *config.Config) *TelegramNotifier { - bot, err := tgbotapi.NewBotAPI(config.Telegram.Token) + bot, err := tgbotapi.NewBotAPI(config.Notifiers.Telegram.Token) if err != nil { fmt.Println("Error creating bot: ", err) return nil |