diff --git a/caravel/viz.py b/caravel/viz.py index a52758fe3123d..de49266d6b2c1 100644 --- a/caravel/viz.py +++ b/caravel/viz.py @@ -243,7 +243,7 @@ def get_json(self): 'data': self.get_data(), 'query': self.query, 'form_data': self.form_data, - 'json_endpoint': cache_key, + 'json_endpoint': self.json_endpoint, 'csv_endpoint': self.csv_endpoint, 'standalone_endpoint': self.standalone_endpoint, 'cache_timeout': cache_timeout,