mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
fix variable name
This commit is contained in:
parent
41f0e4cd34
commit
e1c17c71d3
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ def get_project_template_data(project_doc=None, project_name=None):
|
||||||
project_name = project_doc["name"]
|
project_name = project_doc["name"]
|
||||||
|
|
||||||
if not project_doc:
|
if not project_doc:
|
||||||
project_code = get_project(project_name, fields=["data.code"])
|
project_doc = get_project(project_name, fields=["data.code"])
|
||||||
|
|
||||||
project_code = project_doc.get("data", {}).get("code")
|
project_code = project_doc.get("data", {}).get("code")
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue