From d690d7a0d921e640a1616cece475a05fe1e70df1 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 da3002b7a9e88..b2c1934a2bde4 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -2822,7 +2822,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()