Skip to content

Commit e04cb80

Browse files
committed
Reverted wrong changes, Made correct function name changes
1 parent d937435 commit e04cb80

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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 inbound_sms():
7+
def delivery_receipt():
88
if request.is_json:
99
pprint(request.get_json())
1010
else:

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 input_webhook():
29+
def dtmf():
3030
data = request.get_json()
3131
pprint(data)
3232
ncco =[

0 commit comments

Comments
 (0)