Skip to content

Commit

Permalink
#OBS-I339: handling object type
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakshitha-D committed Dec 2, 2024
1 parent 8b194e3 commit 255ffbf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api-service/src/controllers/DatasetRead/DatasetRead.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ const readDataset = async (datasetId: string, attributes: string[]): Promise<any
}

const processConnectorsConfig = (connectorsConfig: any) => {
if (!Array.isArray(connectorsConfig)) {
return [];
}

return connectorsConfig.map((connector: any) => {
let connector_config = _.get(connector, "connector_config");
const authMechanism = _.get(connector_config, ["authenticationMechanism"]);
Expand Down

0 comments on commit 255ffbf

Please sign in to comment.