feat: gifting #1344

Merged
Sainan merged 3 commits from gifts into main 2025-03-27 12:57:44 -07:00
Showing only changes of commit aab8411246 - Show all commits

View File

@ -21,7 +21,7 @@ export const giftingController: RequestHandler = async (req, res) => {
res.status(400).send("9").end();
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.
if (inventory.Suits.length == 0) {