set RemoveNotificationForChanne() log to debug (#2517)

This commit is contained in:
Meisam 2022-12-27 21:10:42 +01:00 committed by GitHub
parent 1a9b3f85bb
commit a2c35d3d66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 { 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{ return data.GetDatastore().GetQueries().RemoveNotificationDestinationForChannel(context.Background(), db.RemoveNotificationDestinationForChannelParams{
Channel: channel, Channel: channel,
Destination: destination, Destination: destination,