Skip to content

Commit eee4ec7

Browse files
committed
encode last part relationships
1 parent 16bff4c commit eee4ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

writer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func (w *Writer) createLastPartRelationships() error {
195195
}
196196
for _, r := range w.last.Relationships {
197197
if r.ID == "" {
198-
r.ID = newRelationshipID(w.Relationships)
198+
r.ID = newRelationshipID(w.last.Relationships)
199199
}
200200
}
201201
if err := validateRelationships(w.last.Name, w.last.Relationships); err != nil {

0 commit comments

Comments
 (0)