mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
fix(analytics): consistent partyID label
This commit is contained in:
@@ -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');
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user