Browse Source

set RemoveNotificationForChanne() log to debug (#2517)

pull/2501/head
Meisam 2 years ago committed by GitHub
parent
commit
a2c35d3d66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      notifications/persistence.go

4
notifications/persistence.go

@ -31,9 +31,9 @@ func AddNotification(channel, destination string) error { @@ -31,9 +31,9 @@ func AddNotification(channel, destination string) error {
})
}
// RemoveNotificationForChannel removes a notification destination..
// RemoveNotificationForChannel removes a notification destination.
func RemoveNotificationForChannel(channel, destination string) error {
log.Println("Removing notification for channel", channel)
log.Debugln("Removing notification for channel", channel)
return data.GetDatastore().GetQueries().RemoveNotificationDestinationForChannel(context.Background(), db.RemoveNotificationDestinationForChannelParams{
Channel: channel,
Destination: destination,

Loading…
Cancel
Save