Skip to content

Commit

Permalink
send username in sync request
Browse files Browse the repository at this point in the history
  • Loading branch information
youngyjd committed Oct 15, 2018
1 parent 9029701 commit 7ac9ec1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2565,7 +2565,8 @@ def sql_json(self):
data = sql_lab.get_sql_results(
query_id,
rendered_query,
return_results=True)
return_results=True,
user_name=g.user.username)
payload = json.dumps(
data,
default=utils.pessimistic_json_iso_dttm_ser,
Expand Down

0 comments on commit 7ac9ec1

Please sign in to comment.