improve: purchases #161

Merged
Sainan merged 7 commits from stonks into main 2024-05-08 16:27:33 -07:00
Showing only changes of commit c86d080c20 - Show all commits

View File

@ -47,7 +47,11 @@ export const handlePurchase = async (purchaseRequest: IPurchaseRequest, accountI
inventoryChanges = await handleWeaponsPurchase(internalName, accountId);
break;
case "Types":
inventoryChanges = await handleTypesPurchase(internalName, accountId, purchaseRequest.PurchaseParams.Quantity);
inventoryChanges = await handleTypesPurchase(
internalName,
accountId,
purchaseRequest.PurchaseParams.Quantity
);
break;
case "Boosters":
inventoryChanges = await handleBoostersPurchase(internalName, accountId);