Skip to content
Snippets Groups Projects
Commit 9a3d6807 authored by Romin's avatar Romin :eye:
Browse files

Fix project create missing responsible flag

parent 4a653091
No related branches found
No related tags found
No related merge requests found
......@@ -706,6 +706,13 @@ class ApiClient:
parent_id
Parent project ID if the project should be a subproject.
"""
org_data = [
organization.serialize()
for organization in organizations
]
for item in org_data:
item["responsible"] = True
print(org_data)
data: dict = {
"name": name,
"displayName": display_name,
......@@ -717,10 +724,7 @@ class ApiClient:
discipline.serialize()
for discipline in disciplines
],
"organizations": [
organization.serialize()
for organization in organizations
],
"organizations": org_data,
"visibility": visibility.serialize(),
"keywords": keywords if keywords else [],
"grantId": grant_id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment