mirror of
https://github.com/docmost/docmost.git
synced 2025-11-19 06:21:10 +10:00
chore: fix linting (#544)
* fix: eslint (server) * fix: eslint (client) * commit package lock file * fix linting
This commit is contained in:
@ -25,7 +25,7 @@ export const mailDriverConfigProvider = {
|
||||
const driver = environmentService.getMailDriver().toLocaleLowerCase();
|
||||
|
||||
switch (driver) {
|
||||
case MailOption.SMTP:
|
||||
case MailOption.SMTP: {
|
||||
let auth = undefined;
|
||||
if (
|
||||
environmentService.getSmtpUsername() &&
|
||||
@ -44,9 +44,10 @@ export const mailDriverConfigProvider = {
|
||||
connectionTimeout: 30 * 1000, // 30 seconds
|
||||
auth,
|
||||
secure: environmentService.getSmtpSecure(),
|
||||
ignoreTLS: environmentService.getSmtpIgnoreTLS()
|
||||
ignoreTLS: environmentService.getSmtpIgnoreTLS(),
|
||||
} as SMTPTransport.Options,
|
||||
};
|
||||
}
|
||||
|
||||
case MailOption.Postmark:
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user