Skip to content

Commit

Permalink
chore: add logging for "dashboard" action (#10744)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grace Guo authored Sep 2, 2020
1 parent c1f2214 commit e0ad993
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1584,6 +1584,7 @@ def publish( # pylint: disable=no-self-use
session.commit()
return json_success(json.dumps({"published": dash.published}))

@event_logger.log_this
@has_access
@expose("/dashboard/<dashboard_id_or_slug>/")
def dashboard( # pylint: disable=too-many-locals
Expand Down

0 comments on commit e0ad993

Please sign in to comment.