返回提交历史
Modified
src/controllers/api/nemesisController.ts
+1
-1
XFEstudio/SpaceNinjaServer
fix: swapped operands (#2115)
Closes #2113 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2115 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
01492f4f
代码差异
1 个文件
+1
-1
@@ -174,7 +174,7 @@ export const nemesisController: RequestHandler = async (req, res) => {
174
174
body.target.fp = BigInt(body.target.fp);
175
175
176
176
const manifest = getNemesisManifest(body.target.manifest);
177
if (account.BuildLabel && version_compare(manifest.minBuild, account.BuildLabel) < 0) {
177
if (account.BuildLabel && version_compare(account.BuildLabel, manifest.minBuild) < 0) {
178
178
logger.warn(
179
179
`client on version ${account.BuildLabel} provided nemesis manifest ${body.target.manifest} which was expected to require ${manifest.minBuild} or above. please file a bug report.`
180
180
);