Skip to content

Commit

Permalink
fixed *int64 in save
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Solender committed Jun 3, 2021
1 parent 9cf4692 commit 5bf67f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion save.go
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ func createNodes(transaction neo4j.Transaction, crNodes map[string]map[uintptr]*
return fmt.Errorf("cannot find val for ptr [%v]", ptr)
}

reflect.Indirect(*val).FieldByName(DefaultPrimaryKeyStrategy.FieldName).Set(reflect.ValueOf(graphId))
reflect.Indirect(*val).FieldByName(DefaultPrimaryKeyStrategy.FieldName).Set(reflect.ValueOf(&graphId))
}
}

Expand Down

0 comments on commit 5bf67f3

Please sign in to comment.