Closed ReaNAiveD closed 2 years ago
When request parameter command_top_num or scenario_top_num is passed as 0, it would fall back to top_num or 5 unexpectedly.
command_top_num
scenario_top_num
top_num
or
if else
Now the fallback will only happen if the user does not pass command_top_num or scenario_top_num.
When request parameter
command_top_num
orscenario_top_num
is passed as 0, it would fall back totop_num
or 5 unexpectedly.or
withif else
Now the fallback will only happen if the user does not pass
command_top_num
orscenario_top_num
.