Skip to content

Commit

Permalink
Include original submission in the status results
Browse files Browse the repository at this point in the history
  • Loading branch information
BenGalewsky committed Feb 1, 2024
1 parent a0c9d58 commit 9a17d8b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions aws/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ def lambda_handler(event, context):

print(status_rec)

print(automate_manager.get_log(status_rec['action_id']))
result ={
"original_submission": status_rec['original_submission'],
"flow_status":automate_manager.get_status(status_rec['action_id'])
}

return {
'statusCode': 200,
'body': json.dumps(automate_manager.get_status(status_rec['action_id']))
'body': json.dumps(result)
}

0 comments on commit 9a17d8b

Please sign in to comment.