Browse Source

Fixes reading from config.js

activeAddress
Gustavo Maximiliano Cortez 10 years ago
parent
commit
44b71f2b64
No known key found for this signature in database GPG Key ID: 15EDAD8D9F2EB1AF
  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