Skip to content

Commit

Permalink
fix(data-upload): make to change err message (apache#19430)
Browse files Browse the repository at this point in the history
  • Loading branch information
prosdev0107 authored and philipher29 committed Jun 9, 2022
1 parent b816e3a commit d690d7a
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 @@ -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()
Expand Down

0 comments on commit d690d7a

Please sign in to comment.