This is an automated email from the ASF dual-hosted git repository.
sophieyou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 5fc0651aab fix(data-upload): make to change err message (#19430)
5fc0651aab is described below
commit 5fc0651aaba9f2d7ed6605bea9cc44254cd6e02f
Author: smileydev <[email protected]>
AuthorDate: Wed Apr 13 15:24:13 2022 -0400
fix(data-upload): make to change err message (#19430)
---
superset/views/core.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/views/core.py b/superset/views/core.py
index 0f5b88887c..27a9a039b2 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -2820,7 +2820,7 @@ class Superset(BaseSupersetView): # pylint:
disable=too-many-public-methods
get the schema access control settings for file upload in this database
"""
if not request.args.get("db_id"):
- return json_error_response("No database is allowed for your csv
upload")
+ return json_error_response("No database is allowed for your file
upload")
db_id = int(request.args["db_id"])
database = db.session.query(Database).filter_by(id=db_id).one()