bridge-node-server/node_server/ComServe/sms-promises.js
Martin Donnelly 57bd6c8e6a init
2018-06-24 21:15:03 +01:00

12 lines
263 B
JavaScript

/**
* @file This file wraps the functions in mailer.js with promises for simpler
* use in promises and async/await
*/
const Q = require('q');
const sms = require('./sms.js');
module.exports = {
sendSMS: (...args) => Q.nfapply(sms.sendSMS, args)
};