fix: add RemovedIdItems to valence fusion response
All checks were successful
Build / build (20) (push) Successful in 38s
Build / build (18) (push) Successful in 1m14s
Build / build (18) (pull_request) Successful in 40s
Build / build (22) (push) Successful in 1m28s
Build / build (20) (pull_request) Successful in 1m12s
Build / build (22) (pull_request) Successful in 36s

This commit is contained in:
Sainan 2025-03-30 22:06:45 +02:00
parent 516f822e43
commit 9fa712c3c2

View File

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