Skip to content

Commit

Permalink
FIX: method typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremiahUy committed Aug 14, 2023
1 parent 970fa05 commit c372641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filters/clean-event-urls.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const cleanObjectUrls = require('../utils/clean-object-urls');
const cleanEventUrls = (inputEvents) => {
const outputEvents = [];
inputEvents.forEach(event => {
const cloneEvent = cleanEventUrls({...event});
const cloneEvent = cleanObjectUrls({...event});
cloneEvent.event_properties = cleanObjectUrls(event.event_properties || {});
cloneEvent.user_properties = cleanObjectUrls(event.user_properties || {});
outputEvents.push(cloneEvent);
Expand Down

0 comments on commit c372641

Please sign in to comment.