Skip to content

Commit

Permalink
fix(iterable): event id mapping (#2659)
Browse files Browse the repository at this point in the history
  • Loading branch information
mihir-4116 authored Sep 26, 2023
1 parent eb2724f commit 84083aa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
7 changes: 5 additions & 2 deletions src/v0/destinations/iterable/data/IterableTrackConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@
},
{
"destKey": "id",
"sourceKeys": ["properties.id", "properties.event_id"],
"required": false
"sourceKeys": "properties.event_id",
"required": false,
"metadata": {
"type": "toString"
}
},
{
"destKey": "eventName",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@
},
{
"destKey": "id",
"sourceKeys": [
"properties.order_id",
"properties.orderId",
"properties.id",
"properties.event_id"
],
"required": false
"sourceKeys": ["properties.order_id", "properties.orderId", "properties.event_id"],
"required": false,
"metadata": {
"type": "toString"
}
},
{
"destKey": "createdAt",
Expand Down
1 change: 0 additions & 1 deletion test/__tests__/data/iterable.json
Original file line number Diff line number Diff line change
Expand Up @@ -3103,7 +3103,6 @@
"JSON_ARRAY": {},
"FORM": {},
"JSON": {
"id": "event1234",
"userId": "abcdeeeeeeeexxxx102",
"createdAt": 1598631966468,
"dataFields": {
Expand Down

0 comments on commit 84083aa

Please sign in to comment.