Skip to content

Commit e472e3c

Browse files
authored
Merge pull request #37 from arshadkazmi42/function-names-update
Function names to match with routes
2 parents 2709b7b + e04cb80 commit e472e3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sms/receive-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/inbound-sms', 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 dtmf():
3030
data = request.get_json()
3131
pprint(data)
3232
ncco =[

0 commit comments

Comments
 (0)