Skip to content

Commit

Permalink
chore: fix for to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
utsabc committed Apr 18, 2024
1 parent fb5c48f commit c345bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v0/destinations/ga4/customMappingsHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const handleCustomMappings = (message, Config) => {
for (let propertyMapping of eventPropertiesMappings) {

Check warning on line 65 in src/v0/destinations/ga4/customMappingsHandler.js

View check run for this annotation

Codecov / codecov/patch

src/v0/destinations/ga4/customMappingsHandler.js#L65

Added line #L65 was not covered by tests
// { from: properties.products.product_id, to: events[0].params.items.item_id }
const { from, to } = propertyMapping;
let updatedTopath;
let updatedTopath = to;
let isEventProp = false;

Check warning on line 69 in src/v0/destinations/ga4/customMappingsHandler.js

View check run for this annotation

Codecov / codecov/patch

src/v0/destinations/ga4/customMappingsHandler.js#L67-L69

Added lines #L67 - L69 were not covered by tests
// if it starts with events.$ then
if (to.startsWith('events.$')) {
Expand Down

0 comments on commit c345bae

Please sign in to comment.