change line index in ennoblement/parseLine
This commit is contained in:
parent
ff66a4be40
commit
eaa9068677
|
@ -42,7 +42,7 @@ func parseLine(line []string, timezone string) (*models.Ennoblement, error) {
|
|||
if err != nil {
|
||||
return nil, errors.Wrap(err, "*models.Ennoblement.NewOwnerID")
|
||||
}
|
||||
e.OldOwnerID, err = strconv.Atoi(line[2])
|
||||
e.OldOwnerID, err = strconv.Atoi(line[3])
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "*models.Ennoblement.OldOwnerID")
|
||||
}
|
||||
|
|
Reference in New Issue
Block a user