more cleanup
This commit is contained in:
parent
57f376ece9
commit
e2ac6e55e5
6
app.js
6
app.js
@ -117,20 +117,14 @@ function stripPhone(phone) {
|
||||
return (phone+'').replace(/\D/g, '');
|
||||
}
|
||||
|
||||
function validatePhone(phone) {
|
||||
|
||||
}
|
||||
|
||||
function sendText(phone, message, cb) {
|
||||
console.log('txting phone', phone);
|
||||
console.log('msg', message);
|
||||
|
||||
|
||||
var done = _.after(providers.length, function() {
|
||||
cb(false);
|
||||
});
|
||||
|
||||
|
||||
_.each(providers, function(provider) {
|
||||
var email = provider.replace('%s', phone);
|
||||
var child = spawn('sendmail', ['-f', 'txt@textbelt.com', email]);
|
||||
|
Loading…
Reference in New Issue
Block a user