mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 06:12:23 +03:00
set RemoveNotificationForChanne() log to debug (#2517)
This commit is contained in:
parent
1a9b3f85bb
commit
a2c35d3d66
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue