Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
tblanarik committed Sep 9, 2024
1 parent ff24e0f commit 8ce6d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion function_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def spotbot(req: func.HttpRequest) -> func.HttpResponse:
logging.info(f"Received this: {req}")

try:
req_body = req.get_body()
req_body = req.get_json()
logging.info(f"Received JSON: {req_body}")
except ValueError:
logging.error('Invalid JSON received')
Expand Down

0 comments on commit 8ce6d4a

Please sign in to comment.