mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix 'create' from 'CreateContext'
This commit is contained in:
parent
79c079961b
commit
f4d6199b8d
1 changed files with 7 additions and 1 deletions
|
|
@ -2020,8 +2020,14 @@ class CreateContext:
|
|||
project_name,
|
||||
self.host_name
|
||||
)
|
||||
asset_name = get_asset_name_identifier(asset_doc)
|
||||
if AYON_SERVER_ENABLED:
|
||||
asset_name_key = "folderPath"
|
||||
else:
|
||||
asset_name_key = "asset"
|
||||
|
||||
instance_data = {
|
||||
"asset": asset_doc["name"],
|
||||
asset_name_key: asset_name,
|
||||
"task": task_name,
|
||||
"family": creator.family,
|
||||
"variant": variant
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue