Skip to content

Commit

Permalink
fix(data-upload): make to change err message (#19430)
Browse files Browse the repository at this point in the history
  • Loading branch information
prosdev0107 authored Apr 13, 2022
1 parent 68ed39b commit 5fc0651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 5fc0651

Please sign in to comment.