Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Chore: AYON query functions arguments (#5752)
Browse files Browse the repository at this point in the history
* fixe get subsets to work as in mongo api

* fixe get assets to work as in mongo api
  • Loading branch information
iLLiCiTiT authored Oct 12, 2023
1 parent 38427b5 commit 73a8841
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openpype/client/server/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ def _get_subsets(
):
fields.add(key)

active = None
active = True
if archived:
active = False
active = None

for subset in con.get_products(
project_name,
Expand Down Expand Up @@ -196,7 +196,7 @@ def get_assets(

active = True
if archived:
active = False
active = None

con = get_server_api_connection()
fields = folder_fields_v3_to_v4(fields, con)
Expand Down

0 comments on commit 73a8841

Please sign in to comment.