You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2022/09/14 21:02:15 UTC
[superset] branch 1.5 updated: fix: Missing argument
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 1.5
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/1.5 by this push:
new 0c05300ce5 fix: Missing argument
0c05300ce5 is described below
commit 0c05300ce51b721e88870565833f72a3337cc300
Author: Michael S. Molina <mi...@gmail.com>
AuthorDate: Wed Sep 14 18:02:00 2022 -0300
fix: Missing argument
---
superset/views/chart/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/views/chart/views.py b/superset/views/chart/views.py
index 9ecc69f7b9..d22b55a6e4 100644
--- a/superset/views/chart/views.py
+++ b/superset/views/chart/views.py
@@ -63,7 +63,7 @@ class SliceModelView(
@has_access
def add(self) -> FlaskResponse:
payload = {
- "common": common_bootstrap_payload(),
+ "common": common_bootstrap_payload(g.user),
"user": bootstrap_user_data(g.user),
}
return self.render_template(