diff --git a/game-server/app/services/checkParam.ts b/game-server/app/services/checkParam.ts index e9ac68da5..f2d99b321 100644 --- a/game-server/app/services/checkParam.ts +++ b/game-server/app/services/checkParam.ts @@ -542,7 +542,7 @@ export function checkRouteParam(route: string, msg: any) { { let { expeditionCode, expeditionId, battleCode, battleId, isSuccess, heroes, enemies, star, stars } = msg; if(!checkNaturalStrings(expeditionCode, battleCode)) return false; - if(!checkNaturalNumbers(expeditionId, battleId, star)) return false; + if(!checkNaturalNumbers(expeditionId, battleId)) return false; if(!checkBoolean(isSuccess)) return false; if(!checkExpeditionBattleHeroFormat(heroes, enemies)) return false; if(!checkNumberArray(stars)) return false;