fix(webui): respond with 200 for successful shard operations (#2175)
All checks were successful
Build / build (push) Successful in 45s
Build Docker image / docker (push) Successful in 15s

Reviewed-on: #2175
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-06-16 14:55:56 -07:00 committed by Sainan
parent 3e99e069be
commit 8c1147998d
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ export const popArchonCrystalUpgradeController: RequestHandler = async (req, res
); );
await inventory.save(); await inventory.save();
res.end(); res.end();
return;
} }
res.status(400).end(); res.status(400).end();
}; };

View File

@ -15,6 +15,7 @@ export const pushArchonCrystalUpgradeController: RequestHandler = async (req, re
} }
await inventory.save(); await inventory.save();
res.end(); res.end();
return;
} }
} }
res.status(400).end(); res.status(400).end();