From 3bca63f3fc97e973e65971f5a27070c96b0df8a4 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 6 Dec 2018 11:00:51 +0800 Subject: [PATCH] modify condition --- router/google/youtube.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/google/youtube.go b/router/google/youtube.go index 99256ae..77a4d4c 100644 --- a/router/google/youtube.go +++ b/router/google/youtube.go @@ -128,7 +128,7 @@ func GetNotifyWebhook(c *context.Context) { for _, v := range yt.Groups { log.Println("group data :::: ", v, v.Notify, v.Name) - if v.Notify { + if v.Notify == true { str := v.Tmpl log.Println("template :::: ", str) if len(str) == 0 {