mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
another (unrelated) lint fix
This commit is contained in:
parent
dc8091b60b
commit
61786d9e5d
@ -2,7 +2,12 @@ import { createTransport } from 'nodemailer'
|
|||||||
|
|
||||||
import CONFIG from '../config'
|
import CONFIG from '../config'
|
||||||
|
|
||||||
export const sendEMail = async (emailDef: any): Promise<boolean> => {
|
export const sendEMail = async (emailDef: {
|
||||||
|
from: string
|
||||||
|
to: string
|
||||||
|
subject: string
|
||||||
|
text: string
|
||||||
|
}): Promise<boolean> => {
|
||||||
if (!CONFIG.EMAIL) {
|
if (!CONFIG.EMAIL) {
|
||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
console.log('Emails are disabled via config')
|
console.log('Emails are disabled via config')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user