File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/plugins/plugin-braze/src/methods Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ describe('#track', () => {
245
245
revenue : '399.99' ,
246
246
products : [
247
247
{
248
- productId : '123' ,
248
+ product_id : '123' ,
249
249
price : '399.99' ,
250
250
quantity : 4 ,
251
251
} ,
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export default (payload: TrackEventType) => {
90
90
) ;
91
91
const productId =
92
92
unknownToString (
93
- productDict . productId ,
93
+ productDict . product_id ,
94
94
true ,
95
95
undefined ,
96
96
undefined
@@ -102,7 +102,7 @@ export default (payload: TrackEventType) => {
102
102
const productQuantity = isNumber ( productDict . quantity )
103
103
? productDict . quantity
104
104
: 1 ;
105
- delete productDict . productId ;
105
+ delete productDict . product_id ;
106
106
delete productDict . price ;
107
107
delete productDict . quantity ;
108
108
const productProperties = Object . assign (
You can’t perform that action at this time.
0 commit comments