Skip to content

Commit

Permalink
fix: alias has user and previous swapped
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverb123 authored Oct 23, 2024
1 parent cae4fd6 commit fbee0cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ async function onAlias(event, settings) {
...event,
event: '$create_alias',
properties: {
alias: event.previousId,
distinct_id: event.userId,
alias: event.userId,
distinct_id: event.previousId,
},
},
settings
Expand Down

0 comments on commit fbee0cb

Please sign in to comment.