diff --git a/app/model/family.py b/app/model/family.py index ec81010b..7388bd4e 100644 --- a/app/model/family.py +++ b/app/model/family.py @@ -45,4 +45,4 @@ class FamilyCreateDTO(BaseModel): category: str metadata: Json # slug: not included as this is generated from title - organisation: str # FIXME: should this be the org of the current user? + organisation: str # FIXME: https://linear.app/climate-policy-radar/issue/PDCT-494 diff --git a/app/repository/family.py b/app/repository/family.py index d0a1c4b1..d8ac1e01 100644 --- a/app/repository/family.py +++ b/app/repository/family.py @@ -247,7 +247,9 @@ def create(db: Session, family: FamilyCreateDTO, geo_id: int, org_id: int) -> st """ try: new_family, new_fam_org = _family_org_from_dto(family, geo_id, org_id) - org_name = "CCLW" # FIXME: Get this from current logged in user + org_name = ( + "CCLW" # FIXME: https://linear.app/climate-policy-radar/issue/PDCT-494 + ) new_family.import_id = cast( Column, generate_import_id(db, CountedEntity.Family, org_name)