mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 22:02:15 +01:00
do not acces type name through entities but use prequeried types
This commit is contained in:
parent
68e2648a4c
commit
0a42dcd6e7
1 changed files with 2 additions and 1 deletions
|
|
@ -466,7 +466,8 @@ class SyncEntitiesFactory:
|
|||
|
||||
elif entity_type_low == "task":
|
||||
# enrich task info with additional metadata
|
||||
task = {"type": entity["type"]["name"]}
|
||||
task_type_name = task_type_names_by_id[entity["type_id"]]
|
||||
task = {"type": task_type_name}
|
||||
entities_dict[parent_id]["tasks"][entity["name"]] = task
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue