Skip to content

Commit

Permalink
Update api/researches/views.py
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Wellheor1 and github-actions[bot] authored Sep 25, 2024
1 parent 161ab13 commit d4c8939
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions api/researches/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,10 +677,7 @@ def researches_update(request):
department_template_field.value = json.dumps(field["values_to_input"])
else:
department_template_field = ParaclinicFieldTemplateDepartment(
paraclinic_field_id=f.pk,
research_id=res.pk,
department_id=department_template_pk,
value=json.dumps(field["values_to_input"])
paraclinic_field_id=f.pk, research_id=res.pk, department_id=department_template_pk, value=json.dumps(field["values_to_input"])
)
else:
f.input_templates = json.dumps(field["values_to_input"])
Expand Down

0 comments on commit d4c8939

Please sign in to comment.