From 61786d9e5d0f1d0ad7a9d1eff47b7361fec71138 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 10 Nov 2021 23:52:44 +0100 Subject: [PATCH] another (unrelated) lint fix --- backend/src/util/sendEMail.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/backend/src/util/sendEMail.ts b/backend/src/util/sendEMail.ts index e34597419..4c239980d 100644 --- a/backend/src/util/sendEMail.ts +++ b/backend/src/util/sendEMail.ts @@ -2,7 +2,12 @@ import { createTransport } from 'nodemailer' import CONFIG from '../config' -export const sendEMail = async (emailDef: any): Promise => { +export const sendEMail = async (emailDef: { + from: string + to: string + subject: string + text: string +}): Promise => { if (!CONFIG.EMAIL) { // eslint-disable-next-line no-console console.log('Emails are disabled via config')