Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update alias doc strings #34

Closed
wants to merge 1 commit into from
Closed

Update alias doc strings #34

wants to merge 1 commit into from

Conversation

lharries
Copy link

What does this PR do?

Update the alias doc string to match how aliasing actually works. It was implying the wrong order


@param alias The new ID you want to alias the existing ID to. The existing ID will be either the
previousId if you have called identify, or the anonymous ID.
@param alias The alias ID that you want to attach to the user

Choose a reason for hiding this comment

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

let's be more clear here - this needs to be the anonymous ID (that hasn't been merged with anything else). Please see https://posthog.com/docs/integrate/server/node#alias for example. what "alias ID" is is not clear.

Copy link
Author

Choose a reason for hiding this comment

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

I didn't realize this was the case, I've asked a question here: PostHog/posthog-python#82 (comment)

@marandaneto
Copy link
Member

@marandaneto marandaneto closed this Nov 2, 2023
@marandaneto marandaneto deleted the lharries-patch-1 branch November 2, 2023 14:27
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.

3 participants