From 24e3ee69c6879f7dd34a92da28d7458500cb02e6 Mon Sep 17 00:00:00 2001 From: vkuchenik Date: Fri, 30 Oct 2026 12:03:53 -0700 Subject: [PATCH] update: data explorer was using v2 api in development, moving to v3 for production --- client/src/pages/data_explorer/DataExplorer.jsx | 2 +- client/src/pages/data_explorer/QueryBuilder.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/pages/data_explorer/DataExplorer.jsx b/client/src/pages/data_explorer/DataExplorer.jsx index 6637773..8c70177 100644 --- a/client/src/pages/data_explorer/DataExplorer.jsx +++ b/client/src/pages/data_explorer/DataExplorer.jsx @@ -81,7 +81,7 @@ export default function DataExplorer() { try { // 🚨 Relative pathing for your production API - const response = await fetch(`/api/v2/table_view?${buildUrlParams()}`); + const response = await fetch(`/api/v3/table_view?${buildUrlParams()}`); if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`); const data = await response.json(); diff --git a/client/src/pages/data_explorer/QueryBuilder.jsx b/client/src/pages/data_explorer/QueryBuilder.jsx index 0082ceb..12957d3 100644 --- a/client/src/pages/data_explorer/QueryBuilder.jsx +++ b/client/src/pages/data_explorer/QueryBuilder.jsx @@ -270,7 +270,7 @@ export default function QueryBuilder({ url, setUrl, allColumns, getColumns, pull const selectedView = e.target.value; setUrl(prev => ({ ...prev, source: selectedView })); // 🚨 FIXED: Now uses relative pathing for the production API - const endpoint = "/api/v2/view_dash_event_search_columns"; + const endpoint = "/api/v3/view_dash_event_search_columns"; getColumns(endpoint); }} >