From a53b26d3b01f5f4dd22f7dcc63f275aefc0c2d83 Mon Sep 17 00:00:00 2001 From: agdhruv Date: Sat, 18 Aug 2018 14:49:31 +0530 Subject: [PATCH] Send messages to police --- server/send_messages/send_messages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/send_messages/send_messages.js b/server/send_messages/send_messages.js index ffa8854..b6146f8 100644 --- a/server/send_messages/send_messages.js +++ b/server/send_messages/send_messages.js @@ -7,7 +7,7 @@ var client = new twilio(accountSid, authToken); var sendWhatsappMessage = (message) => { client.messages .create({ - body: 'Hello there!', + body: message, from: 'whatsapp:+14155238886', to: 'whatsapp:+919013699205' }) @@ -18,7 +18,7 @@ var sendWhatsappMessage = (message) => { var sendSMS = (message) => { client.messages .create({ - body: 'This is the ship that made the Kessel Run in fourteen parsecs?', + body: message, from: '+18325511392', to: '+919013699205' })