Skip to content

Commit

Permalink
new try
Browse files Browse the repository at this point in the history
Signed-off-by: Qxisylolo <[email protected]>
  • Loading branch information
Qxisylolo committed Jan 23, 2025
1 parent ca7c899 commit d72a2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/workspace/public/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export const getDataSourcesList = (

export const getDirectQueryConnections = async (dataSourceId: string, http: HttpSetup) => {
const endpoint = `${DATACONNECTIONS_BASE}/dataSourceMDSId=${dataSourceId}`;
const res = await http.get(endpoint);
const res = await http.get(endpoint, { prependBasePath: false });
const directQueryConnections: DataSourceConnection[] = res.map(
(dataConnection: DirectQueryDatasourceDetails) => ({
id: `${dataSourceId}-${dataConnection.name}`,
Expand Down

0 comments on commit d72a2c6

Please sign in to comment.