mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Fixes: Uses correct fallback data key
The code now uses the correct key ("fallback_type") to access the
fallback type from the configuration data, ensuring the correct config
path is retrieved when no product is found.
This commit is contained in:
parent
0d8430188a
commit
9b8229fa81
1 changed files with 1 additions and 1 deletions
|
|
@ -834,7 +834,7 @@ def _get_global_config_data(
|
|||
|
||||
if not product_entities_by_name:
|
||||
# in case no product was found we need to use fallback
|
||||
fallback_type = fallback_data["type"]
|
||||
fallback_type = fallback_data["fallback_type"]
|
||||
return _get_config_path_from_profile_data(
|
||||
fallback_data, fallback_type, template_data
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue