From cc99dd07fe57e6f6d4cc6f5916fc869c3934a366 Mon Sep 17 00:00:00 2001 From: Justin Elms <79917349+JustinElms@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:01:10 -0330 Subject: [PATCH] fix api query (#1172) --- oceannavigator/frontend/src/components/SubsetPanel.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oceannavigator/frontend/src/components/SubsetPanel.jsx b/oceannavigator/frontend/src/components/SubsetPanel.jsx index 0e5c33838..047fc4e0d 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 = () => {