XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

fix(webui): respond with 200 for successful shard operations (#2175)

Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2175 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

8c114799
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

2 个文件 +2 -0
Modified src/controllers/custom/popArchonCrystalUpgradeController.ts +1 -0
@@ -12,6 +12,7 @@ export const popArchonCrystalUpgradeController: RequestHandler = async (req, res
12 12 );
13 13 await inventory.save();
14 14 res.end();
15 return;
15 16 }
16 17 res.status(400).end();
17 18 };
Modified src/controllers/custom/pushArchonCrystalUpgradeController.ts +1 -0
@@ -15,6 +15,7 @@ export const pushArchonCrystalUpgradeController: RequestHandler = async (req, re
15 15 }
16 16 await inventory.save();
17 17 res.end();
18 return;
18 19 }
19 20 }
20 21 res.status(400).end();