返回提交历史
Modified
src/controllers/api/setGuildMotdController.ts
+1
-1
XFEstudio/XFESpaceNinjaServer
fix: setGuildMotd response for U29.3.1 (#2851)
Unsure which version introduced long descriptions exactly, but it surely wasn't this one. :^) Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2851 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
b14a5925
代码差异
1 个文件
+1
-1
@@ -57,7 +57,7 @@ export const setGuildMotdController: RequestHandler = async (req, res) => {
57
57
await guild.save();
58
58
}
59
59
60
if (!account.BuildLabel || version_compare(account.BuildLabel, "2020.03.24.20.24") > 0) {
60
if (!account.BuildLabel || version_compare(account.BuildLabel, "2020.11.04.18.58") > 0) {
61
61
res.json({ IsLongMOTD, MOTD });
62
62
} else {
63
63
res.send(MOTD).end();