Skip to content

Commit

Permalink
fix: Variable name error
Browse files Browse the repository at this point in the history
  • Loading branch information
Huang-Xinzhong committed Oct 27, 2023
1 parent 799a543 commit 9013210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/handlers/disease.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (d *Disease) ParameterCheck(info *module.PredictionPremise) error {
return input.Select[i].Value.(int) < input.Select[j].Value.(int)
})

choose, err := strconv.Atoi(info.Inputs[index].Select)
choose, err := strconv.Atoi(info.Inputs[index].SelectValue)
if err != nil {
return err
}
Expand Down

0 comments on commit 9013210

Please sign in to comment.