Skip to content

Commit a167b94

Browse files
Copilothotlong
andcommitted
Fix duplicate name property in logger.ts and update field mapping in connector test
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 9e68521 commit a167b94

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

packages/core/src/logger.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export class ObjectLogger implements Logger {
3333
format: config.format ?? (this.isNode ? 'json' : 'pretty'),
3434
redact: config.redact ?? ['password', 'token', 'secret', 'key'],
3535
sourceLocation: config.sourceLocation ?? false,
36-
name: config.name,
3736
file: config.file,
3837
rotation: config.rotation ?? {
3938
maxSize: '10m',

packages/spec/src/integration/connector.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -602,14 +602,14 @@ describe('Connector Integration', () => {
602602
},
603603
fieldMappings: [
604604
{
605-
sourceField: 'FirstName',
606-
targetField: 'first_name',
605+
source: 'FirstName',
606+
target: 'first_name',
607607
dataType: 'string',
608608
required: true,
609609
},
610610
{
611-
sourceField: 'LastName',
612-
targetField: 'last_name',
611+
source: 'LastName',
612+
target: 'last_name',
613613
dataType: 'string',
614614
required: true,
615615
},

0 commit comments

Comments
 (0)