Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
*/
}, {
key: 'loadEmailTemplate',
value: function loadEmailTemplate(path) {
return new Promise(function (resolve, reject) {
fs.readFile(path, function (err, data) {
if (err) reject(err);
resolve(data);
});
});
}
}]);
return MailgunAdapter;
}(MailAdapter.default);
module.exports = MailgunAdapter;