fix response of giveQuestKeyReward
All checks were successful
Build Docker image / docker (push) Successful in 57s
Build / build (push) Successful in 1m23s

This commit is contained in:
Sainan 2025-04-16 01:36:46 +02:00
parent ea0ca8c88b
commit 7a53363b1b

View File

@ -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
};