From ccff43b64b9060e38f7dcce3dede146ac78e4ad9 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Tue, 7 Oct 2025 09:01:36 +0200 Subject: [PATCH] fix inventory projection --- src/controllers/api/nemesisController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/nemesisController.ts b/src/controllers/api/nemesisController.ts index 5e058810..9f4af582 100644 --- a/src/controllers/api/nemesisController.ts +++ b/src/controllers/api/nemesisController.ts @@ -311,7 +311,7 @@ export const nemesisController: RequestHandler = async (req, res) => { target: inventory.toJSON().Nemesis }); } else if ((req.query.mode as string) == "t") { - const inventory = await getInventory(account._id.toString(), "NemesisHistory"); + const inventory = await getInventory(account._id.toString(), "LastNemesisAllySpawnTime"); //const body = getJSONfromString(String(req.body)); const now = new Date(Math.trunc(Date.now() / 1000) * 1000); inventory.LastNemesisAllySpawnTime = now;