mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 04:59:40 +00:00
Add quantity information when purchasing items (#9481)
This commit is contained in:
parent
6b625a60ab
commit
08ccd595f2
1 changed files with 1 additions and 0 deletions
|
|
@ -156,6 +156,7 @@ module.exports = function purchase (user, req = {}, analytics) {
|
||||||
itemType: 'Market',
|
itemType: 'Market',
|
||||||
acquireMethod: 'Gems',
|
acquireMethod: 'Gems',
|
||||||
gemCost: price * 4,
|
gemCost: price * 4,
|
||||||
|
quantityPurchased: quantity,
|
||||||
category: 'behavior',
|
category: 'behavior',
|
||||||
headers: req.headers,
|
headers: req.headers,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue