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

Signed-off-by: Pavel Ivanov <[email protected]>
  • Loading branch information
schfkt authored and poiana committed Jun 7, 2023
1 parent 49a0864 commit 9c9d46d
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 @@ -437,10 +437,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 9c9d46d

Please sign in to comment.