Skip to content

Commit

Permalink
Convert directory fbcode/whatsapp to use the Ruff Formatter
Browse files Browse the repository at this point in the history
Reviewed By: zertosh

Differential Revision: D64000992

fbshipit-source-id: 9d88786db5c6c4af9fc3ee8246bd9f37a089b8ab
  • Loading branch information
Thomas Polasek authored and facebook-github-bot committed Oct 7, 2024
1 parent 2768c5d commit 3bee08a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions articles/llama-chatbot-flows/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,13 @@ def webhook_post():
else:
# checking that there is data in a flow's response object before processing it
if (
request_data["entry"][0]["changes"][0]["value"]["messages"][0][
"interactive"
]["nfm_reply"]["response_json"]
) is not None:
(
request_data["entry"][0]["changes"][0]["value"]["messages"][0][
"interactive"
]["nfm_reply"]["response_json"]
)
is not None
):
flow_reply_processor(request)

return make_response("PROCESSED", 200)
Expand Down

0 comments on commit 3bee08a

Please sign in to comment.