Skip to content

Commit

Permalink
Fix link deletion by id
Browse files Browse the repository at this point in the history
Signed-off-by: Bartosz Zurkowski <zurkowski.bartosz@gmail.com>
  • Loading branch information
bzurkowski committed Apr 14, 2020
1 parent ba4c3dd commit 957e38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orca/graph/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def delete_node(self, node_id):
return
links = self._driver.get_node_links(node)
for link in links:
self.delete_link(link)
self.delete_link(link.id)
node.deleted_at = utils.get_utc()
LOG.debug("Deleting node: %s", node)
self._driver.update_node(node)
Expand Down

0 comments on commit 957e38f

Please sign in to comment.