chore: add logging for "dashboard" action (#10744)

This commit is contained in:
Grace Guo
2020-09-01 20:14:22 -07:00
committed by GitHub
parent c1f2214d7c
commit e0ad9935c1

View File

@@ -1584,6 +1584,7 @@ class Superset(BaseSupersetView): # pylint: disable=too-many-public-methods
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