Use operation prefix
This commit is contained in:
@@ -33,7 +33,7 @@ class InpRule:
|
||||
|
||||
def inp_in_rule(section: list[str]) -> ChangeSet:
|
||||
obj = InpRule(section)
|
||||
cs = ChangeSet({'operation' : API_UPDATE, 'type': 'rule', 'rule' : obj.rule})
|
||||
cs = ChangeSet(g_update_prefix | {'type': 'rule', 'rule' : obj.rule})
|
||||
return cs
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user