Unverified Commit a870f1b5 authored by davelopez's avatar davelopez
Browse files

Change visualization saved route method from POST to GET

That was the intention in #19495
parent bf1e65ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -618,7 +618,7 @@ def populate_api_routes(webapp, app):
        "/plugins/visualizations/{visualization_name}/saved",
        controller="visualization",
        action="saved",
        conditions={"method": ["POST"]},
        conditions={"method": ["GET"]},
    )
    # Deprecated in favor of POST /api/workflows with 'workflow' in payload.
    webapp.mapper.connect(