Skip to content

Commit

Permalink
use_slice_data in slice_json calls (apache#5643)
Browse files Browse the repository at this point in the history
  • Loading branch information
michellethomas authored and john-bodley committed Aug 16, 2018
1 parent 5966a67 commit 492ad6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ def generate_json(self, datasource_type, datasource_id, form_data,
@expose('/slice_json/<slice_id>')
def slice_json(self, slice_id):
try:
form_data, slc = self.get_form_data(slice_id)
form_data, slc = self.get_form_data(slice_id, use_slice_data=True)
datasource_type = slc.datasource.type
datasource_id = slc.datasource.id

Expand Down

0 comments on commit 492ad6c

Please sign in to comment.