Skip to content

Commit

Permalink
fix: Records in update dict to lowercase (#2874)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikuke authored Mar 7, 2024
1 parent 5acf6c8 commit d536285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/benefit/applications/services/ahjo_payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def prepare_update_application_payload(
) -> dict:
"""Prepare the payload that is sent to Ahjo when an application is updated, \
in this case it only contains a Records dict"""
return {"Records": _prepare_case_records(application, pdf_summary, is_update=True)}
return {"records": _prepare_case_records(application, pdf_summary, is_update=True)}


def prepare_decision_proposal_payload(
Expand Down

0 comments on commit d536285

Please sign in to comment.