mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 00:57:48 -02:30
Fix AC-969, Convert variables element in changes dictionary from json representation
This commit is contained in:
@@ -1037,6 +1037,8 @@ class ActivityStreamSerializer(BaseSerializer):
|
|||||||
return {}
|
return {}
|
||||||
try:
|
try:
|
||||||
d_changes = json.loads(obj.changes)
|
d_changes = json.loads(obj.changes)
|
||||||
|
if 'variables' in d_changes:
|
||||||
|
d_changes['variables'] = json.loads(d_changes['variables'])
|
||||||
return d_changes
|
return d_changes
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
logger.warn("Error deserializing activity stream json changes")
|
logger.warn("Error deserializing activity stream json changes")
|
||||||
|
|||||||
Reference in New Issue
Block a user