diff --git a/backend/capellacollab/projects/crud.py b/backend/capellacollab/projects/crud.py index 04cd7e0472..ff9018f50a 100644 --- a/backend/capellacollab/projects/crud.py +++ b/backend/capellacollab/projects/crud.py @@ -59,6 +59,7 @@ def create_project( name: str, description: str = "", visibility: models.Visibility = models.Visibility.PRIVATE, + type: models.ProjectType = models.ProjectType.GENERAL, ) -> models.DatabaseProject: project = models.DatabaseProject( name=name, @@ -66,7 +67,7 @@ def create_project( description=description, users=[], visibility=visibility, - type=models.ProjectType.GENERAL, + type=type, ) db.add(project)