Skip to content

Commit

Permalink
Merge pull request #736 from hotpheex/discord_notifications
Browse files Browse the repository at this point in the history
Remove test logs from development
  • Loading branch information
rusenask committed Aug 11, 2023
2 parents da5cfa1 + a9c8ea8 commit 1c6db11
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions extension/notification/discord/discord.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@ type Config struct {
}

func init() {
log.Info(0)
notification.RegisterSender("discord", &sender{})
}

func (s *sender) Configure(config *notification.Config) (bool, error) {
log.Info(1)
// Get configuration
var httpConfig Config

Expand Down Expand Up @@ -62,7 +60,6 @@ func (s *sender) Configure(config *notification.Config) (bool, error) {
"name": "discord",
"endpoint": s.endpoint,
}).Info("extension.notification.discord: sender configured")
log.Info(2)
return true, nil
}

Expand Down

0 comments on commit 1c6db11

Please sign in to comment.