We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df3c64b commit 1a8fd46Copy full SHA for 1a8fd46
internal/endpoints/utils.go
@@ -63,7 +63,7 @@ func SenderFactory(kind string, config map[string]string) (Sender, error) {
63
return nil, fmt.Errorf("Telegram 'chat_id' empty")
64
}
65
66
- return NewTelegram(chatID, token), nil
+ return NewTelegram(token, chatID), nil
67
case "shoutrrr":
68
router, err := shoutrrr.CreateSender(strings.Split(config["urls"], "\n")...)
69
if err != nil {
0 commit comments