Updated twilio credentials

This commit is contained in:
Sahat Yalkabov
2014-06-02 16:16:09 -04:00
parent 4327d01c09
commit d6d458635c

View File

@ -407,6 +407,7 @@ exports.postTwilio = function(req, res, next) {
from: '+13472235148',
body: req.body.message
};
twilio.sendMessage(message, function(err, responseData) {
if (err) return next(err.message);
req.flash('success', { msg: 'Text sent to ' + responseData.to + '.'});