Skip to content

Commit 03bb30e

Browse files
authored
Merge pull request #264 from ynput/bugfix/257-getting-products-by-tags-raises-keyerror
Products: Fix statuses and tags filtering
2 parents c37d03e + aa23fe5 commit 03bb30e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ayon_api/graphql_queries.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ def products_graphql_query(fields):
278278
product_types_var = query.add_variable("productTypes", "[String!]")
279279
product_name_regex_var = query.add_variable("productNameRegex", "String!")
280280
product_path_regex_var = query.add_variable("productPathRegex", "String!")
281-
statuses_var = query.add_variable("productStatuses.", "[String!]")
282-
tags_var = query.add_variable("productTags.", "[String!]")
281+
statuses_var = query.add_variable("productStatuses", "[String!]")
282+
tags_var = query.add_variable("productTags", "[String!]")
283283

284284
project_field = query.add_field("project")
285285
project_field.set_filter("name", project_name_var)

0 commit comments

Comments
 (0)