-
Notifications
You must be signed in to change notification settings - Fork 57
Function names to match with routes #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ def answer_call(): | |
|
||
|
||
@app.route("/webhooks/dtmf", methods=['POST']) | ||
def inout_webhook(): | ||
def input_webhook(): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Didn't need fixing, but if we are going to change it to something we should probably change the function name to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did this change based on the other language sample code Does this change even require? |
||
data = request.get_json() | ||
pprint(data) | ||
ncco =[ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not correct. This is the delivery receipt webhook, why are you changing it to inbound sms?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just checked. I did the change other way around. Making this fix now.