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
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:
parent
516f822e43
commit
9fa712c3c2
@ -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