fix(data-upload): make to change err message (#19430)

This commit is contained in:
smileydev
2022-04-13 15:24:13 -04:00
committed by GitHub
parent 68ed39bcd3
commit 5fc0651aab

View File

@@ -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()