dpgaspar commented on a change in pull request #8911: [dashboard] Fix, prevent
delete and update on dashes not owned
URL:
https://github.com/apache/incubator-superset/pull/8911#discussion_r362876475
##########
File path: superset/views/dashboard/api.py
##########
@@ -229,9 +211,9 @@ class DashboardRestApi(DashboardMixin,
BaseSupersetModelRestApi):
}
filter_rel_fields_field = {"owners": "first_name", "slices": "slice_name"}
- @expose("/<model_id>", methods=["PUT"])
+ @expose("/<pk>", methods=["PUT"])
Review comment:
Yes, under the wood all other ModelRestApi's were exposing an OpenAPi spec
with `pk`, so for the sake of consistency I changed it back
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]