mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 17:38:54 +00:00
Return query with visualizations when saving.
This commit is contained in:
parent
44cd109ba3
commit
93bc54e275
@ -209,7 +209,7 @@ class QueryAPI(BaseResource):
|
||||
|
||||
query = models.Query.get_by_id(query_id)
|
||||
|
||||
return query.to_dict(with_result=False)
|
||||
return query.to_dict(with_result=False, with_visualizations=True)
|
||||
|
||||
def get(self, query_id):
|
||||
q = models.Query.get(models.Query.id == query_id)
|
||||
|
Loading…
Reference in New Issue
Block a user