mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Add quantity information when purchasing items (#9481)
This commit is contained in:
committed by
Matteo Pagliazzi
parent
6b625a60ab
commit
08ccd595f2
@@ -156,6 +156,7 @@ module.exports = function purchase (user, req = {}, analytics) {
|
||||
itemType: 'Market',
|
||||
acquireMethod: 'Gems',
|
||||
gemCost: price * 4,
|
||||
quantityPurchased: quantity,
|
||||
category: 'behavior',
|
||||
headers: req.headers,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user