Merge pull request #736 from hotpheex/discord_notifications

Remove test logs from development
pull/738/head
Karolis Rusenas 2023-08-11 17:03:02 +01:00 committed by GitHub
commit 1c6db11eb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -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
@ -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
}