fix: add RemovedIdItems to valence fusion response #1397

Merged
Sainan merged 2 commits from fusion-RemovedIdItems into main 2025-03-30 13:51:00 -07:00
Showing only changes of commit 9fa712c3c2 - Show all commits

View File

@ -42,7 +42,8 @@ export const nemesisController: RequestHandler = async (req, res) => {
await inventory.save(); await inventory.save();
res.json({ res.json({
InventoryChanges: { InventoryChanges: {
[body.Category]: [destWeapon.toJSON()] [body.Category]: [destWeapon.toJSON()],
RemovedIdItems: [{ ItemId: body.SourceWeapon }]
} }
}); });
} else if ((req.query.mode as string) == "p") { } else if ((req.query.mode as string) == "p") {