modify condition
This commit is contained in:
parent
a1db5d2f47
commit
3bca63f3fc
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user