1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Clean up.

This commit is contained in:
Ylian Saint-Hilaire 2020-04-22 22:15:51 -07:00
parent f484c6742c
commit 6633870cc9
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;