From 2b23db14331b20b981eecb4b477be43692c09103 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Thu, 3 Jul 2025 22:45:07 -0700 Subject: [PATCH] chore: remove usage of markModified (#2403) Only this one remained, but not needed because it's schema'd. Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2403 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- src/controllers/api/artifactsController.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/controllers/api/artifactsController.ts b/src/controllers/api/artifactsController.ts index 3cef399a..85c92592 100644 --- a/src/controllers/api/artifactsController.ts +++ b/src/controllers/api/artifactsController.ts @@ -24,7 +24,6 @@ export const artifactsController: RequestHandler = async (req, res) => { if (itemIndex !== -1) { Upgrades[itemIndex].UpgradeFingerprint = stringifiedUpgradeFingerprint; - inventory.markModified(`Upgrades.${itemIndex}.UpgradeFingerprint`); } else { itemIndex = Upgrades.push({