mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 04:29:40 +00:00
fix(analytics): consistent partyID label
This commit is contained in:
parent
6fa2f643fd
commit
198d4df02a
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ habitrpg.controller("PartyCtrl", ['$rootScope','$scope','Groups','Chat','User','
|
||||||
if (!group.name) group.name = env.t('possessiveParty', {name: User.user.profile.name});
|
if (!group.name) group.name = env.t('possessiveParty', {name: User.user.profile.name});
|
||||||
Groups.Group.create(group)
|
Groups.Group.create(group)
|
||||||
.then(function(response) {
|
.then(function(response) {
|
||||||
Analytics.updateUser({'party.id': $scope.group ._id, 'partySize': 1});
|
Analytics.updateUser({'partyID': $scope.group ._id, 'partySize': 1});
|
||||||
$rootScope.hardRedirect('/#/options/groups/party');
|
$rootScope.hardRedirect('/#/options/groups/party');
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue