Skip to content

Commit d937435

Browse files
committed
Function names to match with routes
1 parent 2709b7b commit d937435

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sms/dlr-flask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
app = Flask(__name__)
55

66
@app.route('/webhooks/delivery-receipt', methods=['GET', 'POST'])
7-
def delivery_receipt():
7+
def inbound_sms():
88
if request.is_json:
99
pprint(request.get_json())
1010
else:

voice/handle-user-input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def answer_call():
2626

2727

2828
@app.route("/webhooks/dtmf", methods=['POST'])
29-
def inout_webhook():
29+
def input_webhook():
3030
data = request.get_json()
3131
pprint(data)
3232
ncco =[

0 commit comments

Comments
 (0)