Skip to content

Commit

Permalink
fix python error re pprint
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jul 16, 2024
1 parent 38e7e5a commit a37747e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ def send_payload_to_api(
headers = {"Content-Type": "application/json"}
response = requests.post(args.api_endpoint, headers=headers, data=payload_json)
print("#### Payload ####")
pprint(payload)
pprint.pprint(payload)
print("#### Response ####")
pprint(response.json())
pprint.pprint(response.json())

# Write response to application.log
log_file_path = "./application.log"
Expand Down

0 comments on commit a37747e

Please sign in to comment.