Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pbugni committed Dec 11, 2024
1 parent ecabc9b commit 926d6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portal/models/reporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def update_patient_adherence_data(patient_id):
such as changing a user's study-id.
"""
patient = User.query.get(patient_id)
AdherenceData.query.filter(AdherenceData.patient_id).delete()
AdherenceData.query.filter(AdherenceData.patient_id==patient_id).delete()
for rs_id in ResearchStudy.assigned_to(patient):
single_patient_adherence_data(patient_id=patient_id, research_study_id=rs_id)

Expand Down

0 comments on commit 926d6a8

Please sign in to comment.