Skip to content

Commit b3065df

Browse files
tdumitrescuYayC
andcommitted
YayC example suggestions
Co-Authored-By: J Connolly <[email protected]>
1 parent 393df95 commit b3065df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/groups.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ class MixpanelGroups extends ProfileHelpers() {
2727
2828
usage:
2929
30-
mixpanel.groups.set('company', 'Acme Inc.', 'Industry', 'Widgets');
30+
mixpanel.groups.set('company', 'Acme Inc.', '$name', 'Acme Inc.');
3131
3232
mixpanel.groups.set('company', 'Acme Inc.', {
3333
'Industry': 'widgets',
34-
'Plan': 'premium'
34+
'$name': 'Acme Inc.',
3535
});
3636
*/
3737
set(group_key, group_id, prop, to, modifiers, callback) {

0 commit comments

Comments
 (0)