feat: gifting #1344
@ -21,7 +21,7 @@ export const giftingController: RequestHandler = async (req, res) => {
 | 
				
			|||||||
        res.status(400).send("9").end();
 | 
					        res.status(400).send("9").end();
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    const inventory = await getInventory(account._id.toString(), "Suits");
 | 
					    const inventory = await getInventory(account._id.toString(), "Suits Settings");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Cannot gift items to players that have not completed the tutorial.
 | 
					    // Cannot gift items to players that have not completed the tutorial.
 | 
				
			||||||
    if (inventory.Suits.length == 0) {
 | 
					    if (inventory.Suits.length == 0) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user