From 5fc0651aaba9f2d7ed6605bea9cc44254cd6e02f Mon Sep 17 00:00:00 2001 From: smileydev <47900232+prosdev0107@users.noreply.github.com> Date: Wed, 13 Apr 2022 15:24:13 -0400 Subject: [PATCH] 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 0f5b88887cf9d..27a9a039b2d7b 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -2820,7 +2820,7 @@ def schemas_access_for_file_upload(self) -> FlaskResponse: 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()