返回提交历史
Modified
src/controllers/api/artifactsController.ts
+0
-1
XFEstudio/XFESpaceNinjaServer
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>
2b23db14
代码差异
1 个文件
+0
-1
@@ -24,7 +24,6 @@ export const artifactsController: RequestHandler = async (req, res) => {
24
24
25
25
if (itemIndex !== -1) {
26
26
Upgrades[itemIndex].UpgradeFingerprint = stringifiedUpgradeFingerprint;
27
inventory.markModified(`Upgrades.${itemIndex}.UpgradeFingerprint`);
28
27
} else {
29
28
itemIndex =
30
29
Upgrades.push({