src/integrations/mixpanel/services/mixpanel-events-getter.js
Function MixpanelEventsGetter
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function MixpanelEventsGetter(Implementation, params, options, integrationInfo) {
const MixpanelExport = options.integrations.mixpanel.mixpanel;
const panel = new MixpanelExport({
api_key: options.integrations.mixpanel.apiKey,
api_secret: options.integrations.mixpanel.apiSecret,
Function perform
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.perform = () => {
const collectionFieldName = integrationInfo.field;
const collectionModel = integrationInfo.collection;
return Implementation.Mixpanel.getUser(collectionModel, params.recordId)