From ae3ef7edda2c811e9d27aea9f6a36abe18e919ed Mon Sep 17 00:00:00 2001 From: clauspeterhuebner <86960882+clauspeterhuebner@users.noreply.github.com> Date: Tue, 20 Sep 2022 16:08:28 +0200 Subject: [PATCH] Update backend/src/mailer/sendEMail.ts Co-authored-by: Moriz Wahl --- backend/src/mailer/sendEMail.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/mailer/sendEMail.ts b/backend/src/mailer/sendEMail.ts index 02d9a01c1..00282f232 100644 --- a/backend/src/mailer/sendEMail.ts +++ b/backend/src/mailer/sendEMail.ts @@ -19,7 +19,7 @@ export const sendEMail = async (emailDef: { logger.info(`Emails are disabled via config...`) return false } - if (CONFIG.TEST_MODUS) { + if (CONFIG.EMAIL_TEST_MODUS) { logger.info( `Testmodus=ON: change receiver from ${emailDef.to} to ${CONFIG.EMAIL_TEST_RECEIVER}`, )