Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh committed Nov 20, 2020
1 parent cdd01f4 commit 14b2a71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2729,6 +2729,8 @@ def sqllab(self) -> FlaskResponse:
payload["requested_query"] = json.loads(form_data)
except json.JSONDecodeError:
pass

payload["user"] = bootstrap_user_data(g.user)
bootstrap_data = json.dumps(
payload, default=utils.pessimistic_json_iso_dttm_ser
)
Expand Down

0 comments on commit 14b2a71

Please sign in to comment.