🐞 fix(gvg): 修复参数错误

This commit is contained in:
luying
2023-02-08 20:18:50 +08:00
parent 35778e97ce
commit 66490bcb4e

View File

@@ -1319,7 +1319,7 @@ export function checkRouteParam(route: string, msg: any) {
} }
case "guild.gvgManageHandler.abdicate": case "guild.gvgManageHandler.abdicate":
{ {
if(!checkStringArray(msg.roleId)) return false; if(!checkNaturalStrings(msg.roleId)) return false;
break; break;
} }
case "guild.gvgManageHandler.setLeagueInfo": case "guild.gvgManageHandler.setLeagueInfo":