diff --git a/modules/telegram/telegram.go b/modules/telegram/telegram.go index 3e31862..af18533 100644 --- a/modules/telegram/telegram.go +++ b/modules/telegram/telegram.go @@ -189,7 +189,7 @@ func setFilter(chatID int64, update tgbotapi.Update, text string, regFilterMatch for _, v := range filterValues { switch v { - case utils.NotificationTypeSuccess: + case utils.NotificationTypeSuccessString: case utils.NotificationTypeInfoString: case utils.NotificationTypeWarningString: case utils.NotificationTypeErrorString: