Explorar o código

style: update lint

poeti8 %!s(int64=5) %!d(string=hai) anos
pai
achega
024de9a859
Modificáronse 1 ficheiros con 6 adicións e 4 borrados
  1. 6 4
      server/mail/mail.ts

+ 6 - 4
server/mail/mail.ts

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