mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 10:12:21 +00:00
fix(analytics): record missing group ID info
also update subproject while I'm here
This commit is contained in:
parent
f327795761
commit
3354ca048c
2 changed files with 5 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 0393ffa0b95ce9ed4fa04646db56bf1882e29bb1
|
||||
Subproject commit 973f84ead2613073f301c1e2b5496d08163f7507
|
||||
|
|
@ -165,6 +165,7 @@ api.createGroup = {
|
|||
hitType: 'event',
|
||||
category: 'behavior',
|
||||
owner: true,
|
||||
groupId: savedGroup._id,
|
||||
groupType: savedGroup.type,
|
||||
privacy: savedGroup.privacy,
|
||||
headers: req.headers,
|
||||
|
|
@ -214,6 +215,7 @@ api.createGroupPlan = {
|
|||
hitType: 'event',
|
||||
category: 'behavior',
|
||||
owner: true,
|
||||
groupId: savedGroup._id,
|
||||
groupType: savedGroup.type,
|
||||
privacy: savedGroup.privacy,
|
||||
headers: req.headers,
|
||||
|
|
@ -736,6 +738,7 @@ api.joinGroup = {
|
|||
hitType: 'event',
|
||||
category: 'behavior',
|
||||
owner: false,
|
||||
groupId: group._id,
|
||||
groupType: group.type,
|
||||
privacy: group.privacy,
|
||||
headers: req.headers,
|
||||
|
|
@ -1205,6 +1208,7 @@ api.inviteToGroup = {
|
|||
uuid: user._id,
|
||||
hitType: 'event',
|
||||
category: 'behavior',
|
||||
groupId: group._id,
|
||||
groupType: group.type,
|
||||
headers: req.headers,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue