From aab841124686851aec5b45e752da6428c12422b4 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Thu, 27 Mar 2025 12:48:59 +0100 Subject: [PATCH] fix projection missing Settings --- src/controllers/api/giftingController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/giftingController.ts b/src/controllers/api/giftingController.ts index 8dbfdd6a..ce3e5a30 100644 --- a/src/controllers/api/giftingController.ts +++ b/src/controllers/api/giftingController.ts @@ -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) {