diff --git a/api/types.go b/api/types.go index c4934508..bdaf4743 100644 --- a/api/types.go +++ b/api/types.go @@ -70,6 +70,10 @@ func (t *AlertConditionTerm) UnmarshalJSON(data []byte) error { } t.Threshold = threshold + t.Duration = aux.Duration + t.Operator = aux.Operator + t.Priority = aux.Priority + t.TimeFunction = aux.TimeFunction return nil }