Skip to content

Commit

Permalink
add created by to symptoms bulk create
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed May 20, 2024
1 parent 3e0b86e commit e502d51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions care/facility/api/serializers/patient_consultation.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ def create(self, validated_data):
symptom=obj.get("symptom"),
onset_date=localtime(obj.get("onset_date")),
other_symptom=obj.get("other_symptom"),
created_by=self.context["request"].user,
)
for obj in create_symptoms
)
Expand Down

0 comments on commit e502d51

Please sign in to comment.