Add debug to /send

This commit is contained in:
ponas committed 2017-08-10 01:30:24 +02:00
1 parent 828a02bd16
commit 1b39a98f51
1 file changed
+1
+1
View File
@@ -196,6 +196,7 @@ def send_app_link(incoming_id=None, number=None):
@require_token
def send():
data = request.get_json()
app.logger.debug('/send got payload: {!r}'.format(data))
number = data.get('to')
message = data.get('message')