This is an automated email from the ASF dual-hosted git repository.

dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new cfc70ea8b0 chore: deprecate /superset/add_slices (#23936)
cfc70ea8b0 is described below

commit cfc70ea8b0bbb73a5d7189c26867bb64f6f80f67
Author: Daniel Vaz Gaspar <[email protected]>
AuthorDate: Mon May 8 09:28:21 2023 +0100

    chore: deprecate /superset/add_slices (#23936)
---
 superset/views/core.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/views/core.py b/superset/views/core.py
index 4e742b5dda..ff5b2f631f 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -1378,7 +1378,7 @@ class Superset(BaseSupersetView):  # pylint: 
disable=too-many-public-methods
     @has_access_api
     @event_logger.log_this
     @expose("/add_slices/<int:dashboard_id>/", methods=("POST",))
-    @deprecated(new_target="api/v1/chart/<id>/")
+    @deprecated(new_target="api/v1/chart/<chart_id>")
     def add_slices(  # pylint: disable=no-self-use
         self, dashboard_id: int
     ) -> FlaskResponse:

Reply via email to