mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Clean up.
This commit is contained in:
parent
f484c6742c
commit
6633870cc9
4 changed files with 9 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue