diff --git a/src/Explorer/QueryCopilot/QueryCopilotTab.tsx b/src/Explorer/QueryCopilot/QueryCopilotTab.tsx index a4af8dee4..76f8a7630 100644 --- a/src/Explorer/QueryCopilot/QueryCopilotTab.tsx +++ b/src/Explorer/QueryCopilot/QueryCopilotTab.tsx @@ -193,7 +193,7 @@ export const QueryCopilotTab: React.FC = ({ explorer }: Qu setShowDeletePopup(false); useQueryCopilot.getState().refreshCorrelationId(); const serverInfo = useNotebook.getState().notebookServerInfo; - const response = await fetch(`${serverInfo.notebookServerEndpoint}/generateSQLQuery`, { + const response = await fetch(`${serverInfo.notebookServerEndpoint}generateSQLQuery`, { method: "POST", headers: { "content-type": "application/json",