Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/neography/relationship.rb
Original file line number Diff line number Diff line change
@@ -25,8 +25,8 @@ def load(*args)
rel = db.get_relationship(rel)
unless rel.nil?
rel = Neography::Relationship.new(rel)
rel.start_node = Neography::Node.load(rel.start_node)
rel.end_node = Neography::Node.load(rel.end_node)
rel.start_node = Neography::Node.load(rel.start_node, db)
rel.end_node = Neography::Node.load(rel.end_node, db)
end
rel
end

0 comments on commit 88e697c

Please sign in to comment.