Skip to content

Commit

Permalink
chore: correct alias api
Browse files Browse the repository at this point in the history
  • Loading branch information
1abhishekpandey committed Dec 9, 2024
1 parent 0b3759e commit f6ab065
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ public void alias(String newId) {
}

public void alias(@NonNull String newId, @Nullable RudderOption option) {
alias(newId, option, null);
alias(newId, null, option);
}

/**
Expand All @@ -482,7 +482,7 @@ public void alias(@NonNull String newId, @Nullable RudderOption option) {
* @param newId New userId for the user
* @param option RudderOptions for this event
*/
public void alias(@NonNull String newId, @Nullable RudderOption option, @Nullable String previousId) {
public void alias(@NonNull String newId, @Nullable String previousId, @Nullable RudderOption option) {
RudderContext context = getRudderContext();
Map<String, Object> traits = null;
if (context != null) {
Expand Down

0 comments on commit f6ab065

Please sign in to comment.