Skip to content

Commit

Permalink
fix: missing delete_request_sent ahjo_status (#3200)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikuke authored Aug 9, 2024
1 parent 45fc384 commit ab41393
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/benefit/applications/services/ahjo_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,10 @@ def delete_application_in_ahjo(
ahjo_request = AhjoDeleteCaseRequest(application)
ahjo_client = AhjoApiClient(ahjo_token, ahjo_request)

return ahjo_client.send_request_to_ahjo(None)
result, response_text = ahjo_client.send_request_to_ahjo(None)
if result:
create_status_for_application(application, ahjo_request.result_status)
return result, response_text


def update_application_summary_record_in_ahjo(
Expand Down

0 comments on commit ab41393

Please sign in to comment.