Skip to content

Commit

Permalink
chore: remove unnecessary map
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Kühnlein committed Jan 25, 2024
1 parent 231d152 commit 83c5801
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/temporal/src/workflows/importer.workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,7 @@ export async function importer(params: ImporterWorkflowParams) {
const chunkedFileReferences = await acts.applyMappings({
bucket: sourceFile!.bucket,
fileReference: sourceFileReference,
dataMapping: configuredMappings!.map((item) => ({
sourceColumn: item.sourceColumn,
targetColumn: item.targetColumn,
})),
dataMapping: configuredMappings!,
});
const mappedSourceDataFileReference = "target.json";
await acts.mergeChunks({
Expand Down

0 comments on commit 83c5801

Please sign in to comment.