Browse Source

Merge pull request #269 from cmgustavo/bug/config-file

Fixes reading from config.js
activeAddress
Ivan Socolsky 10 years ago
parent
commit
088873d5e1
  1. 6
      lib/emailservice.js

6
lib/emailservice.js

@ -65,9 +65,9 @@ EmailService.prototype.start = function(opts, cb) {
var self = this;
self.defaultLanguage = opts.defaultLanguage || 'en';
self.defaultUnit = opts.defaultUnit || 'btc';
self.templatePath = path.normalize((opts.templatePath || (__dirname + '/templates')) + '/');
self.defaultLanguage = opts.emailOpts.defaultLanguage || 'en';
self.defaultUnit = opts.emailOpts.defaultUnit || 'btc';
self.templatePath = path.normalize((opts.emailOpts.templatePath || (__dirname + '/templates')) + '/');
async.parallel([

Loading…
Cancel
Save