forked from OpenWF/SpaceNinjaServer
chore: remove usage of markModified (#2403)
Only this one remained, but not needed because it's schema'd. Reviewed-on: OpenWF/SpaceNinjaServer#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:
parent
a45bacc388
commit
2b23db1433
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user