fix: ignore purchaseQuantity for webui add items #1944
@ -333,7 +333,7 @@ export const addItem = async (
 | 
				
			|||||||
    premiumPurchase: boolean = false,
 | 
					    premiumPurchase: boolean = false,
 | 
				
			||||||
    seed?: bigint,
 | 
					    seed?: bigint,
 | 
				
			||||||
    targetFingerprint?: string,
 | 
					    targetFingerprint?: string,
 | 
				
			||||||
    exactQuantity = false
 | 
					    exactQuantity: boolean = false
 | 
				
			||||||
): Promise<IInventoryChanges> => {
 | 
					): Promise<IInventoryChanges> => {
 | 
				
			||||||
    // Bundles are technically StoreItems but a) they don't have a normal counterpart, and b) they are used in non-StoreItem contexts, e.g. email attachments.
 | 
					    // Bundles are technically StoreItems but a) they don't have a normal counterpart, and b) they are used in non-StoreItem contexts, e.g. email attachments.
 | 
				
			||||||
    if (typeName in ExportBundles) {
 | 
					    if (typeName in ExportBundles) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user