mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
properly update user properties in events
This commit is contained in:
@@ -112,7 +112,7 @@ export default function revive (user, req = {}, analytics) {
|
||||
|
||||
if (analytics) {
|
||||
analytics.track('Death', {
|
||||
user: pick(user, ['preferences', 'registeredThrough']),
|
||||
user,
|
||||
uuid: user._id,
|
||||
lostItem,
|
||||
category: 'behavior',
|
||||
|
||||
Reference in New Issue
Block a user