AbstractGemItemOperation - BuyQuestWithGemOperation (#10476)

This commit is contained in:
negue
2018-06-28 12:37:21 +02:00
committed by Matteo Pagliazzi
parent 487523f64b
commit d9b573b430
7 changed files with 212 additions and 21 deletions

View File

@@ -63,7 +63,7 @@ function purchaseItem (user, item, price, type, key) {
}
}
const acceptedTypes = ['eggs', 'hatchingPotions', 'food', 'quests', 'gear', 'bundles'];
const acceptedTypes = ['eggs', 'hatchingPotions', 'food', 'gear', 'bundles'];
const singlePurchaseTypes = ['gear'];
module.exports = function purchase (user, req = {}, analytics) {
let type = get(req.params, 'type');