From 93ab0c6116a4c42fe180fccf3bc257e90cd45e44 Mon Sep 17 00:00:00 2001 From: Miodec Date: Sun, 4 Sep 2022 20:16:01 +0200 Subject: [PATCH] not using template --- backend/src/api/controllers/result.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/backend/src/api/controllers/result.ts b/backend/src/api/controllers/result.ts index d4b39d5b3..014bb61c0 100644 --- a/backend/src/api/controllers/result.ts +++ b/backend/src/api/controllers/result.ts @@ -256,10 +256,8 @@ export async function addResult( ); if (didUserGetBanned) { const mail = buildMonkeyMail({ - getTemplate: () => ({ - subject: "Banned", - body: "Your account has been automatically banned for triggering the anticheat system. If you believe this is a mistake, please contact support.", - }), + subject: "Banned", + body: "Your account has been automatically banned for triggering the anticheat system. If you believe this is a mistake, please contact support.", }); UserDAL.addToInbox( uid,