Skip to content

Commit 65d2fe3

Browse files
saiyamaampenick-Ag
authored andcommitted
fix: update Aampe event_name field to use correct fallback path (#3089)
1 parent e1d1130 commit 65d2fe3

File tree

1 file changed

+2
-2
lines changed
  • packages/destination-actions/src/destinations/aampe

1 file changed

+2
-2
lines changed

packages/destination-actions/src/destinations/aampe/fields.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const event_name: InputField = {
2222
'@if': {
2323
exists: { '@path': '$.event' },
2424
then: { '@path': '$.event' },
25-
else: { '@path': '$.name' }
25+
else: { '@path': '$.type' }
2626
}
2727
},
2828
required: true
@@ -72,4 +72,4 @@ export const user_properties: InputField = {
7272
}
7373
},
7474
required: true
75-
}
75+
}

0 commit comments

Comments
 (0)