From 7a53363b1b3a458a715dde4452dae53c738835b2 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Wed, 16 Apr 2025 01:36:46 +0200 Subject: [PATCH] fix response of giveQuestKeyReward --- src/controllers/api/giveQuestKeyRewardController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/giveQuestKeyRewardController.ts b/src/controllers/api/giveQuestKeyRewardController.ts index 80846234..d74d56bf 100644 --- a/src/controllers/api/giveQuestKeyRewardController.ts +++ b/src/controllers/api/giveQuestKeyRewardController.ts @@ -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 };