aboutsummaryrefslogtreecommitdiffstats
path: root/internal/notifier/telegram
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--internal/notifier/telegram/telegram.go2
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