diff --git a/superset/views.py b/superset/views.py index 13e3246b5f2a9..0609310f991a7 100755 --- a/superset/views.py +++ b/superset/views.py @@ -1492,7 +1492,7 @@ def explore(self, datasource_type, datasource_id): "datasource_name": viz_obj.datasource.name, "datasource_type": datasource_type, "user_id": user_id, - "viz": json.loads(viz_obj.get_json()) + "viz": json.loads(viz_obj.json_data) } table_name = viz_obj.datasource.table_name \ if datasource_type == 'table' \