Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
prabrisha-rudder committed Feb 20, 2020
1 parent c918e5e commit 759ae9a
Show file tree
Hide file tree
Showing 3 changed files with 189 additions and 93 deletions.
2 changes: 1 addition & 1 deletion analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ class Analytics {

if (typeof options == "function") (callback = options), (options = null);
if (typeof traits == "function") (callback = traits), (options = null), (traits = null);
if (typeof groupId == "object") (options = traits), (traits = groupId), (id=group.id());
if (typeof groupId == "object") (options = traits), (traits = groupId), (groupId = this.groupId);

this.groupId = groupId;
this.storage.setGroupId(this.groupId);
Expand Down
Loading

0 comments on commit 759ae9a

Please sign in to comment.