fix: add RemovedIdItems to valence fusion response #1397
@ -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") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user