aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--moonv4/python_moonclient/python_moonclient/authz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/moonv4/python_moonclient/python_moonclient/authz.py b/moonv4/python_moonclient/python_moonclient/authz.py
index 0ee62930..9458767e 100644
--- a/moonv4/python_moonclient/python_moonclient/authz.py
+++ b/moonv4/python_moonclient/python_moonclient/authz.py
@@ -27,7 +27,7 @@ def _construct_payload(creds, current_rule, enforcer, target):
temp_target[key] = {}
_data = _json = None
if enforcer:
- _data = {'rule': json.dumps(current_rule),
+ _data = {'rule': current_rule,
'target': json.dumps(temp_target),
'credentials': json.dumps(creds)}
else: