Skip to content

Commit

Permalink
feat: marketo: migrate config fields and fix test cases (#2789)
Browse files Browse the repository at this point in the history
* feat: marketo: migrate config fields and fix test cases

* Update destination_config.json

* chore: fix test cases

* Update utils.js

* Update destinationCanonicalNames.js

* Update cdkV2Integration.ts

* Update index.js

* Update am_input.json

* Update am_output.json

* Update am_input.json

* Update am_output.json

* Update data.ts

* Update am_input.json

* Update data.ts

* Update data.ts

* chore: small fix
  • Loading branch information
anantjain45823 authored Dec 2, 2023
1 parent 80cf69d commit 7910dba
Show file tree
Hide file tree
Showing 5 changed files with 1,360 additions and 1,278 deletions.
12 changes: 6 additions & 6 deletions src/v0/destinations/marketo/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ const formatConfig = (destination) => ({
ID: destination.ID,
...destination.Config,
customActivityEventMap: getHashFromArray(
destination.Config.customActivityEventMap,
'from',
'to',
destination.Config.rudderEventsMapping,
'event',
'marketoActivityId',
false,
),
customActivityPropertyMap: getHashFromArray(
Expand All @@ -27,9 +27,9 @@ const formatConfig = (destination) => ({
false,
),
customActivityPrimaryKeyMap: getHashFromArray(
destination.Config.customActivityPrimaryKeyMap,
'from',
'to',
destination.Config.rudderEventsMapping,
'event',
'marketoPrimarykey',
false,
),
leadTraitMapping: getHashFromArray(destination.Config.leadTraitMapping, 'from', 'to', false),
Expand Down
Loading

0 comments on commit 7910dba

Please sign in to comment.