mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-13 21:44:40 -04:00
Fixed #1739. Darnit mongoose.
This commit is contained in:
parent
f345d68be9
commit
12e860a985
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ PurchaseHandler = class PurchaseHandler extends Handler
|
|||
addPurchaseToUser: (req) ->
|
||||
user = req.user
|
||||
purchased = user.get('purchased') or {}
|
||||
purchased = _.clone purchased
|
||||
purchased = _.cloneDeep purchased
|
||||
item = req.purchasedItem
|
||||
|
||||
group = switch item.get('kind')
|
||||
|
|
Loading…
Add table
Reference in a new issue