forked from OpenWF/SpaceNinjaServer
		
	fix response of giveQuestKeyReward
This commit is contained in:
		
							parent
							
								
									ea0ca8c88b
								
							
						
					
					
						commit
						7a53363b1b
					
				@ -16,7 +16,7 @@ export const giveQuestKeyRewardController: RequestHandler = async (req, res) =>
 | 
			
		||||
    const inventory = await getInventory(accountId);
 | 
			
		||||
    const inventoryChanges = await addItem(inventory, reward.ItemType, reward.Amount);
 | 
			
		||||
    await inventory.save();
 | 
			
		||||
    res.json(inventoryChanges.InventoryChanges);
 | 
			
		||||
    res.json(inventoryChanges);
 | 
			
		||||
    //TODO: consider whishlist changes
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user