Skip to content

Commit 8ecf5ce

Browse files
authored
remove empty list return if family ids not specified (#763)
1 parent affbe6f commit 8ecf5ce

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

api/graphql/schema.py

-3
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,6 @@ async def pedigree(
233233
if not root.id:
234234
raise ValueError('Project must have an id')
235235

236-
if not internal_family_ids:
237-
return []
238-
239236
pedigree_dicts = await family_layer.get_pedigree(
240237
project=root.id,
241238
family_ids=internal_family_ids,

0 commit comments

Comments
 (0)