Skip to content

Commit

Permalink
update FIXMEs with ticket refs
Browse files Browse the repository at this point in the history
  • Loading branch information
diversemix committed Oct 17, 2023
1 parent 093dd01 commit 5882f42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/model/family.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 3 additions & 1 deletion app/repository/family.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5882f42

Please sign in to comment.