mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-25 13:01:00 +00:00
fix(winston): typo
This commit is contained in:
parent
f8796e9028
commit
83b3739f46
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ var logger;
|
|||
if (logger == null) {
|
||||
logger = new (winston.Logger)({});
|
||||
if (nconf.get('NODE_ENV') == 'production') {
|
||||
logger.add(winston.transport.newrelic, {});
|
||||
logger.add(winston.transports.newrelic, {});
|
||||
logger.add(winston.transports.Mail, {
|
||||
to: nconf.get('ADMIN_EMAIL') || nconf.get('SMTP_USER'),
|
||||
from: "HabitRPG <" + nconf.get('SMTP_USER') + ">",
|
||||
|
|
|
|||
Loading…
Reference in a new issue