Skip to content

Commit

Permalink
fix: old API api column edit (#2134)
Browse files Browse the repository at this point in the history
* fix: old API api column edit

* fix lint
  • Loading branch information
dpgaspar authored Oct 23, 2023
1 parent 0a5aec9 commit 8203783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_appbuilder/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def api_column_edit(self, col_name):
log.warning("This API is deprecated and will be removed on 2.3.X")
filter_rel_fields = None
if self.edit_form_query_rel_fields:
filter_rel_fields = self.edit_form_query_rel_fields
filter_rel_fields = self.edit_form_query_rel_fields.get(col_name)
ret_json = self._get_related_column_data(col_name, filter_rel_fields)
response = make_response(ret_json, 200)
response.headers["Content-Type"] = "application/json"
Expand Down

0 comments on commit 8203783

Please sign in to comment.