diff --git a/apier/v1/triggers.go b/apier/v1/triggers.go index 93d9e9ed1..e1002b341 100644 --- a/apier/v1/triggers.go +++ b/apier/v1/triggers.go @@ -182,6 +182,7 @@ type AttrSetAccountActionTriggers struct { ThresholdType *string ThresholdValue *float64 Recurrent *bool + Executed *bool MinSleep *string ExpirationDate *string ActivationDate *string @@ -227,6 +228,9 @@ func (self *ApierV1) SetAccountActionTriggers(attr AttrSetAccountActionTriggers, if attr.Recurrent != nil { at.Recurrent = *attr.Recurrent } + if attr.Executed != nil { + at.Executed = *attr.Executed + } if attr.MinSleep != nil { minSleep, err := utils.ParseDurationWithSecs(*attr.MinSleep) if err != nil {