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;