chore: remove usage of markModified (#2403)
All checks were successful
Build Docker image / docker-arm64 (push) Successful in 1m4s
Build / build (push) Successful in 1m19s
Build Docker image / docker-amd64 (push) Successful in 56s

Only this one remained, but not needed because it's schema'd.

Reviewed-on: #2403
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
Sainan 2025-07-03 22:45:07 -07:00 committed by Sainan
parent a45bacc388
commit 2b23db1433

View File

@ -24,7 +24,6 @@ export const artifactsController: RequestHandler = async (req, res) => {
if (itemIndex !== -1) { if (itemIndex !== -1) {
Upgrades[itemIndex].UpgradeFingerprint = stringifiedUpgradeFingerprint; Upgrades[itemIndex].UpgradeFingerprint = stringifiedUpgradeFingerprint;
inventory.markModified(`Upgrades.${itemIndex}.UpgradeFingerprint`);
} else { } else {
itemIndex = itemIndex =
Upgrades.push({ Upgrades.push({