feat(scope): make Belgium and North Sea operational default
This commit is contained in:
@@ -31,7 +31,11 @@ class ProjectService:
|
||||
|
||||
@staticmethod
|
||||
def create_project(db: Session, payload: ProjectCreate) -> ProjectRead:
|
||||
project = Project(name=payload.name.strip(), description=(payload.description or "").strip() or None, region=payload.region or "Kempen")
|
||||
project = Project(
|
||||
name=payload.name.strip(),
|
||||
description=(payload.description or "").strip() or None,
|
||||
region=payload.region or "Belgium and Belgian North Sea",
|
||||
)
|
||||
db.add(project)
|
||||
db.commit()
|
||||
db.refresh(project)
|
||||
|
||||
Reference in New Issue
Block a user