fix object deserialization missing graph reference

This commit is contained in:
Gavin Nishizawa 2023-09-25 15:45:11 -07:00
parent 86de2cd414
commit 07a433eebe
No known key found for this signature in database
GPG key ID: AE3B177777CE55CD

View file

@ -41,6 +41,7 @@ func DeserializeGraph(bytes []byte, g *Graph) error {
if err := convert(so, &o); err != nil {
return err
}
o.Graph = g
objects = append(objects, &o)
idToObj[so["AbsID"].(string)] = &o
}