Clean up.

This commit is contained in:
Ylian Saint-Hilaire
2020-04-22 22:15:51 -07:00
parent 66749fe9b3
commit 52e94df395
4 changed files with 9 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ module.exports.CreateMeshSMS = function (parent) {
if (typeof parent.config.sms.token != 'string') { console.log('Invalid or missing SMS gateway provider token.'); return null; }
if (typeof parent.config.sms.from != 'string') { console.log('Invalid or missing SMS gateway provider from.'); return null; }
// Setup Twilio
// Setup Plivo
var plivo = require('plivo');
obj.provider = new plivo.Client(parent.config.sms.id, parent.config.sms.token);
break;