diff --git a/oceannavigator/frontend/src/components/SubsetPanel.jsx b/oceannavigator/frontend/src/components/SubsetPanel.jsx index 0e5c3383..047fc4e0 100644 --- a/oceannavigator/frontend/src/components/SubsetPanel.jsx +++ b/oceannavigator/frontend/src/components/SubsetPanel.jsx @@ -99,11 +99,11 @@ function SubsetPanel(props) { window.location.href = window.location.origin + - "/api/v2.0/generate_script/?query=" + + "/api/v2.0/generate_script?query=" + JSON.stringify(query) + "&lang=" + key + - "&scriptType=subset"; + "&script_type=subset"; }; const getSubsetVariables = () => {