|
|
@ -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([ |
|
|
|
|
|
|
|