diff --git a/core/trigger/handler.go b/core/trigger/handler.go index 5a47a2e..14b757a 100644 --- a/core/trigger/handler.go +++ b/core/trigger/handler.go @@ -125,10 +125,6 @@ func (h *Handler) dataToAttrs(triggerData map[string]interface{}) ([]*data.Attri func (h *Handler) generateInputs(triggerData map[string]interface{}) (map[string]*data.Attribute, error) { - if len(triggerData) == 0 { - return nil, nil - } - triggerAttrs, err := h.dataToAttrs(triggerData) if err != nil { @@ -136,10 +132,6 @@ func (h *Handler) generateInputs(triggerData map[string]interface{}) (map[string return nil, err } - if len(triggerAttrs) == 0 { - return nil, nil - } - var inputs map[string]*data.Attribute //if h.act.IOMetadata() == nil {