forked from OpenWF/SpaceNinjaServer
this should not have been removed
This commit is contained in:
parent
cbfbb1e903
commit
c58a9e5229
@ -84,6 +84,7 @@ export const missionInventoryUpdateController: RequestHandler = async (req, res)
|
|||||||
await inventory.save();
|
await inventory.save();
|
||||||
const inventoryResponse = await getInventoryResponse(inventory, true);
|
const inventoryResponse = await getInventoryResponse(inventory, true);
|
||||||
|
|
||||||
|
//TODO: figure out when to send inventory. it is needed for many cases.
|
||||||
res.json({
|
res.json({
|
||||||
InventoryJson: JSON.stringify(inventoryResponse),
|
InventoryJson: JSON.stringify(inventoryResponse),
|
||||||
InventoryChanges: inventoryChanges,
|
InventoryChanges: inventoryChanges,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user