Skip to content

Commit

Permalink
Use client folder if client local patients are allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonski committed May 7, 2023
1 parent d03110b commit 679f9a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/senaite/patient/subscribers/analysisrequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def update_patient(instance):
if patient is None:
if patient_api.is_patient_allowed_in_client():
# create the patient in the client
container = patient_api.get_patient_folder()
container = instance.getClient()
else:
# create the patient in the global patients folder
container = patient_api.get_patient_folder()
Expand Down

0 comments on commit 679f9a8

Please sign in to comment.