chore(analytics): Gem transfer tracking and shorten task score period

This commit is contained in:
Sabe Jones
2021-04-13 14:51:19 -05:00
parent 8703a22b3a
commit 06f6355006
2 changed files with 11 additions and 1 deletions

View File

@@ -761,6 +761,16 @@ api.transferGems = {
}
res.respond(200, {});
if (res.analytics) {
res.analytics.track('transfer gems', {
uuid: sender._id,
hitType: 'event',
category: 'behavior',
headers: req.headers,
quantity: gemAmount,
});
}
},
};