Skip to content

Commit

Permalink
CSV Upload:
Browse files Browse the repository at this point in the history
- The DOM element was still misnamed in one place
  • Loading branch information
Antonio-RiveroMartnez committed Nov 18, 2022
1 parent 25322b3 commit 863f2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/views/database/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def form_post(self, form: CsvToDatabaseForm) -> Response:

database = (
db.session.query(models.Database)
.filter_by(id=form.data.get("con").data.get("id"))
.filter_by(id=form.data.get("database").data.get("id"))
.one()
)

Expand Down

0 comments on commit 863f2b3

Please sign in to comment.