You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by su...@apache.org on 2021/02/03 04:25:58 UTC
[superset] 07/09: change return, no id
This is an automated email from the ASF dual-hosted git repository.
suddjian pushed a commit to branch dashboard-bootstrap
in repository https://gitbox.apache.org/repos/asf/superset.git
commit bdcf2241e88c7dd21034bcc76168c4f21ece848b
Author: David Aaron Suddjian <aa...@gmail.com>
AuthorDate: Tue Feb 2 20:20:58 2021 -0800
change return, no id
---
superset/dashboards/api.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/dashboards/api.py b/superset/dashboards/api.py
index 19b6cb7..3413069 100644
--- a/superset/dashboards/api.py
+++ b/superset/dashboards/api.py
@@ -244,7 +244,7 @@ class DashboardRestApi(BaseSupersetModelRestApi):
$ref: '#/components/responses/404'
"""
charts = DashboardDAO.get_charts_for_dashboard(pk)
- return self.response(200, id=pk, response=charts)
+ return self.response(200, response=charts)
@expose("/", methods=["POST"])
@protect()