Remove extra / in url

This commit is contained in:
Victor Meng 2023-08-08 12:30:15 -07:00
parent 5c21e9d5ee
commit 91c9c8fee7

View File

@ -193,7 +193,7 @@ export const QueryCopilotTab: React.FC<QueryCopilotTabProps> = ({ 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",