src/integrations/mixpanel/serializers/mixpanel-events.js
Function serializeMixpanelEvents
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function serializeMixpanelEvents(events, collectionName, meta, options) {
events = events.map((event) => {
const MAP_PROPERTIES = {
$city: 'city',
$region: 'region',