Skip to content

Commit

Permalink
style: update lint
Browse files Browse the repository at this point in the history
  • Loading branch information
poeti8 committed Oct 12, 2020
1 parent f03c697 commit 024de9a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions server/mail/mail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ const mailConfig = {
host: env.MAIL_HOST,
port: env.MAIL_PORT,
secure: env.MAIL_SECURE,
auth: env.MAIL_USER ? {
user: env.MAIL_USER,
pass: env.MAIL_PASSWORD
} : undefined
auth: env.MAIL_USER
? {
user: env.MAIL_USER,
pass: env.MAIL_PASSWORD
}
: undefined
};

const transporter = nodemailer.createTransport(mailConfig);
Expand Down

0 comments on commit 024de9a

Please sign in to comment.