Skip to content

Conversation

@argenisf
Copy link
Contributor

Removing a check for the alias within the identify function as it can prevent the ID from changing if alias has been called already.

Removing a check for the alias within the identify function as it can prevent the ID from changing if alias has been called already.
self.people.distinctId = nil
}
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor nit: pls format the code. otherwise, it looks good.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zihejia I've fixed the formatting :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've also added a fix to also encode "+" within URLs which was causing some decide requests not to fetch data.

Fixing formatting for code refactor within the identify call in MixpanelInstance

Adding line to URL encode the + sign
@zihejia zihejia merged commit 69ef638 into mixpanel:master Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants