improve: purchases #161
@ -47,7 +47,11 @@ export const handlePurchase = async (purchaseRequest: IPurchaseRequest, accountI
 | 
				
			|||||||
            inventoryChanges = await handleWeaponsPurchase(internalName, accountId);
 | 
					            inventoryChanges = await handleWeaponsPurchase(internalName, accountId);
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
        case "Types":
 | 
					        case "Types":
 | 
				
			||||||
            inventoryChanges = await handleTypesPurchase(internalName, accountId, purchaseRequest.PurchaseParams.Quantity);
 | 
					            inventoryChanges = await handleTypesPurchase(
 | 
				
			||||||
 | 
					                internalName,
 | 
				
			||||||
 | 
					                accountId,
 | 
				
			||||||
 | 
					                purchaseRequest.PurchaseParams.Quantity
 | 
				
			||||||
 | 
					            );
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
        case "Boosters":
 | 
					        case "Boosters":
 | 
				
			||||||
            inventoryChanges = await handleBoostersPurchase(internalName, accountId);
 | 
					            inventoryChanges = await handleBoostersPurchase(internalName, accountId);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user