diff --git a/pillarsdk/nodes.py b/pillarsdk/nodes.py index 2b654c7..e75675e 100755 --- a/pillarsdk/nodes.py +++ b/pillarsdk/nodes.py @@ -124,7 +124,7 @@ class Node(List, Find, Create, Post, Update, Delete, Replace): where = copy.deepcopy(basic_properties) if extra_where: where.update(extra_where) - existing_node = cls.find_first({'where': basic_properties}, api=api) + existing_node = cls.find_first({'where': where}, api=api) if existing_node: # Just update the file ID and we're done. existing_node.properties.content_type = asset_type