mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Update client/ayon_core/plugins/load/delete_old_versions.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
2f62a3a228
commit
914367dba2
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ class DeleteOldVersions(load.ProductLoaderPlugin):
|
|||
product_entity = context["product"]
|
||||
folder_entity = context["folder"]
|
||||
project_name = context["project"]["name"]
|
||||
anatomy = Anatomy(project_name)
|
||||
anatomy = Anatomy(project_name, project_entity=context["project"])
|
||||
|
||||
versions = list(ayon_api.get_versions(
|
||||
project_name, product_ids=[product_entity["id"]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue