Skip to content

Commit 2c914be

Browse files
committed
add product type fields to graphql fields
1 parent 4c13bbf commit 2c914be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ayon_api/_api_helpers/projects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ def _get_project_graphql_fields(
684684
must_use_graphql = True
685685
fields.discard(field)
686686
for f_name in DEFAULT_PRODUCT_TYPE_FIELDS:
687-
fields.add(f"{field}.{f_name}")
687+
graphql_fields.add(f"{field}.{f_name}")
688688

689689
elif field.startswith("productTypes"):
690690
must_use_graphql = True
@@ -694,7 +694,7 @@ def _get_project_graphql_fields(
694694
must_use_graphql = True
695695
fields.discard(field)
696696
for f_name in DEFAULT_PRODUCT_BASE_TYPE_FIELDS:
697-
fields.add(f"{field}.{f_name}")
697+
graphql_fields.add(f"{field}.{f_name}")
698698

699699
elif field.startswith("productBaseTypes"):
700700
must_use_graphql = True

0 commit comments

Comments
 (0)