Skip to content

Commit

Permalink
Fix the config options for telegram: it has to be Telegram instead of…
Browse files Browse the repository at this point in the history
… Slack
  • Loading branch information
schfkt committed Jun 1, 2023
1 parent de5eabc commit ef45b94
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,10 +436,10 @@ func getConfig() *types.Configuration {
v.SetDefault("N8n.MinimumPriority", "")
v.SetDefault("N8n.CheckCert", true)

v.SetDefault("Slack.Token", "")
v.SetDefault("Slack.ChatID", "")
v.SetDefault("Slack.MinimumPriority", "")
v.SetDefault("Slack.CheckCert", true)
v.SetDefault("Telegram.Token", "")
v.SetDefault("Telegram.ChatID", "")
v.SetDefault("Telegram.MinimumPriority", "")
v.SetDefault("Telegram.CheckCert", true)

v.SetEnvKeyReplacer(strings.NewReplacer(".", "_"))
v.AutomaticEnv()
Expand Down

0 comments on commit ef45b94

Please sign in to comment.