From c0aff452129098716ced6593918fd357e020c465 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 21 Oct 2023 19:02:05 +0200 Subject: [PATCH] type bug --- modules/telegram/telegram.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: