12 lines
263 B
JavaScript
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)
|
|
};
|