fix(api): ci relation search

This commit is contained in:
pycook 2024-11-28 19:22:26 +08:00
parent 52b0a41d16
commit 9a2229ab10
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class Search(object):
self.ancestor_ids = ancestor_ids
self.descendant_ids = descendant_ids
self.root_parent_path = root_parent_path
self.root_parent_path = root_parent_path or []
self.has_m2m = has_m2m or False
if not self.has_m2m:
if self.ancestor_ids: