Commit 9fa1fc44 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Context component:

- added retrieve of action in config rules
parent 9fe3c1a1
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -46,4 +46,7 @@ class ConfigRuleModel(_Base):
    )

    def dump(self) -> Dict:
        return {self.kind.value: json.loads(self.data)}
        return {
            'action': self.action.value,
            self.kind.value: json.loads(self.data),
        }