Skip to content

Commit

Permalink
feat: minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrinson-rise8 committed Oct 29, 2024
1 parent a3a344f commit 3a50035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/recordlinker/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ async def link_record(
algorithm=algorithm,
external_person_id=external_id,
)
#update the bundle
updated_bundle = link.add_person_resource(
str(new_person_id), pii_record.external_id, input_bundle
)
Expand Down Expand Up @@ -315,5 +316,4 @@ async def link_fhir(

except ValueError:
response.status_code = status.HTTP_400_BAD_REQUEST
raise HTTPException(status_code=400, detail="Error: Bad request")

raise HTTPException(status_code=400, detail="Error: Bad request")

0 comments on commit 3a50035

Please sign in to comment.