modify condition

This commit is contained in:
Jay 2018-12-06 11:00:51 +08:00
parent a1db5d2f47
commit 3bca63f3fc
1 changed files with 1 additions and 1 deletions

View File

@ -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 {