Updated twilio credentials
This commit is contained in:
@ -407,6 +407,7 @@ exports.postTwilio = function(req, res, next) {
|
|||||||
from: '+13472235148',
|
from: '+13472235148',
|
||||||
body: req.body.message
|
body: req.body.message
|
||||||
};
|
};
|
||||||
|
|
||||||
twilio.sendMessage(message, function(err, responseData) {
|
twilio.sendMessage(message, function(err, responseData) {
|
||||||
if (err) return next(err.message);
|
if (err) return next(err.message);
|
||||||
req.flash('success', { msg: 'Text sent to ' + responseData.to + '.'});
|
req.flash('success', { msg: 'Text sent to ' + responseData.to + '.'});
|
||||||
|
Reference in New Issue
Block a user