Unverified Commit 2fc6bba8 authored by Daniel's avatar Daniel Committed by GitHub

Fix a duplicate `/v0` in the API for getTableDescription (#323)

parent 4e24bfe1
...@@ -60,7 +60,7 @@ export function getTableData(tableKey: string, index?: string, source?: string ) ...@@ -60,7 +60,7 @@ export function getTableData(tableKey: string, index?: string, source?: string )
export function getTableDescription(tableData: TableMetadata) { export function getTableDescription(tableData: TableMetadata) {
const tableParams = getTableQueryParams(tableData.key); const tableParams = getTableQueryParams(tableData.key);
return axios.get(`${API_PATH}/v0/get_table_description?${tableParams}`) return axios.get(`${API_PATH}/get_table_description?${tableParams}`)
.then((response: AxiosResponse<DescriptionAPI>) => { .then((response: AxiosResponse<DescriptionAPI>) => {
tableData.table_description = response.data.description; tableData.table_description = response.data.description;
return tableData; return tableData;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment