style: update lint

This commit is contained in:
poeti8 2020-10-12 19:02:41 +03:30
parent f03c6978b6
commit 024de9a859
1 changed files with 6 additions and 4 deletions

View File

@ -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);